This discussion is archived
3 Replies Latest reply: May 9, 2012 9:27 AM by Nik RSS

mpathadm list lu - total / Operational path counts don't match

831265 Newbie
Currently Being Moderated
Hi,

I have just removed some old LUN's from my Solaris 10 10/08 server which APU worked as expected. However when I look at mpathadm it shows the following:

[root@fgukshppay001 root/] # mpathadm list lu
/dev/rdsk/c3t60060E80052761000000276100000125d0s2
Total Path Count: 4
Operational Path Count: 2
/dev/rdsk/c3t60060E80102560D005112E3D0000002Bd0s2
Total Path Count: 8
Operational Path Count: 4
/dev/rdsk/c3t60060E80102560D005112E3D0000002Ad0s2
Total Path Count: 8
Operational Path Count: 4

As you can see the Total Path Count doesn't match the Operational Path Count, ive removed the devices via cfgadm which also worked...

Looking deeper into say /dev/rdsk/c3t60060E80052761000000276100000125d0s2 I see 2 of the paths are unavailable:

Initiator Port Name: 2100001b32896830
Target Port Name: 50060e8005276160
Override Path: NA
Path State: unavailable
Disabled: no

Initiator Port Name: 2100001b3289cb30
Target Port Name: 50060e8005276170
Override Path: NA
Path State: unavailable
Disabled: no

luxadm shows the correct configuration and everything looks as expected.

My question is how I get rid of the 2 unavailable path's??. Ive tried disabling to no avail and after a lot of digging have found 3 bugs (6578838, 6579069 and 6671437) which would seem to suggest I would need a reboot to remove. Unfortunately this is a production server so cannot easily be rebooted so would anyone have any idea of how to remove them without a reboot please before I log it with Oracle and send them umpteen explorers, lists and screenshots...


Thanks.

Heres the luxadm output

[root@fgukshppay001 root/] # luxadm display /dev/rdsk/c3t60060E80052761000000276100000125d0s2
DEVICE PROPERTIES for disk: /dev/rdsk/c3t60060E80052761000000276100000125d0s2
Vendor: HITACHI
Product ID: OPEN-V -SUN
Revision: 6007
Serial Num: 50 027610125
Unformatted capacity: 870400.312 MBytes
Write Cache: Enabled
Read Cache: Enabled
Minimum prefetch: 0x0
Maximum prefetch: 0x0
Device Type: Disk device
Path(s):

/dev/rdsk/c3t60060E80052761000000276100000125d0s2
/devices/scsi_vhci/ssd@g60060e80052761000000276100000125:c,raw
Controller /devices/pci@2,600000/SUNW,qlc@0/fp@0,0
Device Address 50060e8005276145,0
Host controller port WWN 2100001b32896830
Class primary
State ONLINE
Controller /devices/pci@3,700000/SUNW,qlc@0/fp@0,0
Device Address 50060e8005276155,0
Host controller port WWN 2100001b3289cb30
Class primary
State ONLINE
  • 1. Re: mpathadm list lu - total / Operational path counts don't match
    Nik Expert
    Currently Being Moderated
    Hi.
    You need check what show
    mpathadm show lu /dev/rdsk/c3t60060E80052761000000276100000125d0s2

    For understanding what path show as non-operational.

    Check this path via cfgadm


    Regards.
  • 2. Re: mpathadm list lu - total / Operational path counts don't match
    831265 Newbie
    Currently Being Moderated
    Thank Nik,

    As I previously described, I can see 4 paths down c3t60060E80052761000000276100000125d0s2 2 of which are unavailable and have been removed so I need to get rid of 50060e8005276160 and 50060e8005276170.

    Logical Unit: /dev/rdsk/c3t60060E80052761000000276100000125d0s2
    mpath-support: libmpscsi_vhci.so
    Vendor: HITACHI
    Product: OPEN-V -SUN
    Revision: 6007
    Name Type: unknown type
    Name: 60060e80052761000000276100000125
    Asymmetric: no
    Current Load Balance: round-robin
    Logical Unit Group ID: NA
    Auto Failback: on
    Auto Probing: NA

    Paths:
    Initiator Port Name: 2100001b32896830
    Target Port Name: 50060e8005276160
    Override Path: NA
    Path State: unavailable
    Disabled: no

    Initiator Port Name: 2100001b3289cb30
    Target Port Name: 50060e8005276170
    Override Path: NA
    Path State: unavailable
    Disabled: no

    Initiator Port Name: 2100001b32896830
    Target Port Name: 50060e8005276145
    Override Path: NA
    Path State: OK
    Disabled: no

    Initiator Port Name: 2100001b3289cb30
    Target Port Name: 50060e8005276155
    Override Path: NA
    Path State: OK
    Disabled: no

    Target Ports:
    Name: 50060e8005276160
    Relative ID: 0

    Name: 50060e8005276170
    Relative ID: 0

    Name: 50060e8005276145
    Relative ID: 0

    Name: 50060e8005276155
    Relative ID: 0

    From cfgadm I can see the attachment point which is connected:

    Ap_Id Type Receptacle Occupant Condition
    c1::50060e8005276145,0 disk connected configured unknown


    But adding -v shows unavailable disk:

    Ap_Id Receptacle Occupant Condition Information
    When Type Busy Phys_Id
    c1::50060e8005276145,0 connected configured unknown
    unavailable disk n /devices/pci@2,600000/SUNW,qlc@0/fp@0,0:fc::50060e8005276145,0


    So how do I remove the unavailable paths without a reboot??



    Thanks.
  • 3. Re: mpathadm list lu - total / Operational path counts don't match
    Nik Expert
    Currently Being Moderated
    Hi.
    You cant try
    cfgadm -c unconfigure c1::50060e8005276145

    At this mooment you loss all Lun's fro 50060e8005276145
    In case you require some of this, configure it's back.

    cfgadm -c configure c1::50060e8005276145

    Regards

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points