Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

733

November 18th, 2008 07:00

Recover from trespassed LUN on AIX

Is there any difference between running emcpassive2active vs. running powermt restore to fail a trespassed lun back to the defualt controller?

341 Posts

November 21st, 2008 00:00

When a LUN is created through Navisphere Manager it is assigned a default SP owner. (Either SPA or SPB) Running the command powermt restore will attempt to trespass the LUN back to it's default owner if it is not currently already managed by it's default owner.

emcpassive2active is a script that only works on AIX hosts. This script is not 'aware' of the default owner of the LUN and forces a trespass on the LUN specified whether on it's default SP or not.

From the PowerPath 5.1 Release notes page 16:
---
When a trespass occurs in a CLARiiON environment, a passive interface becomes the active interface. In this situation, bosboot will fail unless you transfer the rootvg PVID to the newly active interface. To do so, run the command /usr/sbin/emcpassive2active. Once you run the command, bosboot will succeed.
Run /usr/sbin/emcpassive2active whenever a trespass occurs. Note: On AIX 5.3 only, a trespassed CLARiiON boot device will hang if you run emcpassive2active and pprootdev fix. OPT 256084 in Table 5 on page 13 provides additional information.

---

197 Posts

November 24th, 2008 04:00

Thanks for response. I will be passing this along to our AIX Admins.
No Events found!

Top