Subscribe

AIX MPIO / offline LUN has most (not ALL) of paths Failed?!

Hello all,

I'm seeking guidance/answers. AIX 6.1TL3 here, with MPIO NetApp installed, NO ALUA, versions below:

root@x:/oracle/TPM/sapdata1# lslpp -cl|grep -i netapp
/usr/lib/objrepos:NetApp.SAN_toolkit.sanlun:5.0.0.0::COMMITTED:I:Network Appliance  AN Toolkit sanlun:
/usr/lib/objrepos:NetApp.SAN_toolkit.scripts:5.0.0.0::COMMITTED:I:Network Appliance SAN Toolkit Scripts:
/usr/lib/objrepos:NetApp.mpio_attach_kit.config:5.0.0.0::COMMITTED:I:Network Applia ce MPIO PCM Kit Path Config Tool:
/usr/lib/objrepos:NetApp.mpio_attach_kit.fcp:5.0.0.0::COMMITTED:I:Network Appliance MPIO PCM Kit FCP Disk ODM Stanzas:
/usr/lib/objrepos:NetApp.mpio_attach_kit.iscsi:5.0.0.0::COMMITTED:I:Network Applian e MPIO PCM Kit iSCSI Disk ODM Stanzas:
/usr/lib/objrepos:NetApp.mpio_attach_kit.pcmodm:5.0.0.0::COMMITTED:I:Network Applia ce MPIO PCM Kit PCM Friend ODM Stanzas:
/usr/lib/objrepos:NetApp.snapdrive:4.1.0.0::COMMITTED:I:Network Appliance SnapDrive

@FAS3140C offlined LUN for hdisk7:

root@x:/oracle/TPM/sapdata1# lspath -F"name parent path_id connection status"|grep ^hdisk7
hdisk7  fscsi0 0 500a0982995ad101,6000000000000 Failed
hdisk7  fscsi0 1 500a0981895ad101,6000000000000 Failed
hdisk7  fscsi1 2 500a0982895ad101,6000000000000 Failed
hdisk7  fscsi1 3 500a0981995ad101,6000000000000 Enabled

root@x:/oracle/TPM/sapdata1#

root@x:~# sanlun lun show|grep hdisk7

root@x:~#

Onlined LUN for hdisk7:

root@x:/oracle/TPM/sapdata1# lspath -F"name parent path_id connection status"|grep ^hdisk7
hdisk7  fscsi0 0 500a0982995ad101,6000000000000 Enabled
hdisk7  fscsi0 1 500a0981895ad101,6000000000000 Enabled
hdisk7  fscsi1 2 500a0982895ad101,6000000000000 Enabled
hdisk7  fscsi1 3 500a0981995ad101,6000000000000 Enabled
root@x:/oracle/TPM/sapdata1#

root@x:~# sanlun lun show|grep hdisk7
kopdslab04d:  /vol/y/sapdata2/sapdata02.lun  hdisk7           fcs1     FCP          150g (161061273600)   GOOD
root@x:~#

Questions:

1) why not all paths are Failed?! (isn't this bug?)

2) if LUN is offline, but device is present (hdisk7 is Available , reported by "lsdev -Cc disk  |grep hdisk7"), why sanlun reports nothing at all for that hdisk7? Shouldn't it report FAULT/etc? (is this bug too?)

Thanks.

-Jakub Wartak

Re: AIX MPIO / offline LUN has most (not ALL) of paths Failed?!

check the volume space, do you use snapshot on the volume?

If you use snapshot then delete all snapshot.

And if you have to use snapshot then you have to expand volume size. 

Re: AIX MPIO / offline LUN has most (not ALL) of paths Failed?!

Hi,

thanks for answer but I'm not looking for reason why it happens (i'm aware of that). I'm looking for guidance why the utilties are, in my humble opinion, reporting not what they should. I would like to have a way of verifing that the LUN is offline from the AIX side (e.g. for scripting checks purposes).