######## dont use "forcelip". It shutdowns for short but it can harm applications like Oracle Database RAC. root@server1:~# luxadm -e forcelip /dev/cfg/c17 root@server1:~# tail /var/adm/messages May 9 16:36:27 server1 qlc: [ID 628150 kern.info] NOTICE: Qlogic qlc(7,0,1): Link OFFLINE May 9 16:36:27 server1 qlc: [ID 628150 kern.info] NOTICE: Qlogic qlc(7,0,1): Link ONLINE root@server1:~# ####### ADDING LUNs root@server1:~# devfsadm root@server1:~# cfgadm -fvc configure c3 cfgadm: Library error: report LUNs failed: 50060e801330ab10 report LUNs failed: 50060e801330ab00 Operation partially successful. Some failures seen root@server1:~# luxadm -e dump_map /dev/cfg/c3 Pos Port_ID Hard_Addr Port WWN Node WWN Type 0 1bc00 0 50060e801330ab41 50060e801330ab41 0x0 (Disk device) 1 1c780 0 50060e801330ab51 50060e801330ab51 0x0 (Disk device) 2 1e940 0 50060e801330ab10 50060e801330ab10 0x0 (Disk device) 3 1f280 0 50060e801330ab00 50060e801330ab00 0x0 (Disk device) 4 1eac9 0 720000144ffa64ef 270000144ffa64ef 0x1f (Unknown Type,Host Bus Adapter) root@server1:~# cfgadm -fvc configure c3 root@server1:~# ####### DELETING LUNs SAN admin removed "lun masking" and informed us. root@server1:~# devfsadm -C root@server1:~# cfgadm -al Ap_Id Type Receptacle Occupant Condition c2 fc-fabric connected configured unknown c2::50060e801330ab01 disk connected configured unknown c2::50060e801330ab11 disk connected configured unknown c2::50060e801330ab40 unavailable connected configured unusable c2::50060e801330ab50 unavailable connected configured unusable c3 fc-fabric connected configured unknown c3::50060e801330ab00 disk connected configured unknown c3::50060e801330ab10 disk connected configured unknown c3::50060e801330ab41 unavailable connected configured unusable c3::50060e801330ab51 unavailable connected configured unusable root@server1:~# cfgadm -c unconfigure c2::50060e801330ab40 root@server1:~# cfgadm -c unconfigure c2::50060e801330ab50 root@server1:~# cfgadm -c unconfigure c3::50060e801330ab41 root@server1:~# cfgadm -c unconfigure c3::50060e801330ab51 root@server1:~# cfgadm -al Ap_Id Type Receptacle Occupant Condition c2 fc-fabric connected configured unknown c2::50060e801330ab01 disk connected configured unknown c2::50060e801330ab11 disk connected configured unknown c2::50060e801330ab40 unavailable connected unconfigured unusable c2::50060e801330ab50 unavailable connected unconfigured unusable c3 fc-fabric connected configured unknown c3::50060e801330ab00 disk connected configured unknown c3::50060e801330ab10 disk connected configured unknown c3::50060e801330ab41 unavailable connected unconfigured unusable c3::50060e801330ab51 unavailable connected unconfigured unusable root@server1:~# we cant go further, below commands fail, because "zoning" exists and this makes "receptacle" stay "connected". root@server1:~# cfgadm -fvc remove c2::50060e801330ab40 cfgadm: Configuration operation not supported root@server1:~# cfgadm -fvc disconnect c2::50060e801330ab40 cfgadm: Configuration operation not supported root@server1:~# config shown after SAN admin also deleted "zoning". mpathadm shows path information wrong, care luxadm data for healthier path management root@server1:~# cfgadm -al Ap_Id Type Receptacle Occupant Condition c2 fc-fabric connected configured unknown c2::50060e801330ab01 disk connected configured unknown c2::50060e801330ab11 disk connected configured unknown c3 fc-fabric connected configured unknown c3::50060e801330ab00 disk connected configured unknown c3::50060e801330ab10 disk connected configured unknown root@server1:~# root@server1:~# mpathadm list lu /dev/rdsk/c0t60060E801330AB00502030AB0000162Cd0s2 Total Path Count: 8 Operational Path Count: 4 /dev/rdsk/c0t60060E801330AB00502030AB0000162Bd0s2 Total Path Count: 8 Operational Path Count: 4 /dev/rdsk/c0t60060E801330AB00502030AB00001649d0s2 Total Path Count: 8 Operational Path Count: 4 /dev/rdsk/c0t60060E801330AB00502030AB00001648d0s2 Total Path Count: 8 Operational Path Count: 4 /dev/rdsk/c0t60060E801330AB00502030AB00001647d0s2 Total Path Count: 8 Operational Path Count: 4 /dev/rdsk/c0t60060E801330AB00502030AB0000066Cd0s2 Total Path Count: 8 Operational Path Count: 4 /dev/rdsk/c0t60060E801330AB00502030AB0000066Bd0s2 Total Path Count: 8 Operational Path Count: 4 /dev/rdsk/c0t60060E801330AB00502030AB00000669d0s2 Total Path Count: 8 Operational Path Count: 4 /dev/rdsk/c0t60060E801330AB00502030AB00000668d0s2 Total Path Count: 8 Operational Path Count: 4 /dev/rdsk/c0t60060E801330AB00502030AB00000117d0s2 Total Path Count: 8 Operational Path Count: 4 /dev/rdsk/c0t60060E801330AB00502030AB00001645d0s2 Total Path Count: 8 Operational Path Count: 4 /dev/rdsk/c0t60060E801330AB00502030AB00001643d0s2 Total Path Count: 8 Operational Path Count: 4 root@server1:~# mpathadm show lu /dev/rdsk/c0t60060E801330AB00502030AB00001643d0s2 Logical Unit: /dev/rdsk/c0t60060E801330AB00502030AB00001643d0s2 mpath-support: libmpscsi_vhci.so Vendor: HITACHI Product: OPEN-V -SUN Revision: 7303 Name Type: unknown type Name: 60060e801330ab00502030ab00001643 Asymmetric: no Current Load Balance: round-robin Logical Unit Group ID: NA Auto Failback: on Auto Probing: NA Paths: Initiator Port Name: 710000144ffb8f2b Target Port Name: 50060e801330ab51 Override Path: NA Path State: unknown Disabled: no Initiator Port Name: 710000144ffb8f2b Target Port Name: 50060e801330ab41 Override Path: NA Path State: unknown Disabled: no Initiator Port Name: 710000144ff816d3 Target Port Name: 50060e801330ab50 Override Path: NA Path State: unknown Disabled: no Initiator Port Name: 710000144ff816d3 Target Port Name: 50060e801330ab40 Override Path: NA Path State: unknown Disabled: no Initiator Port Name: 710000144ff816d3 Target Port Name: 50060e801330ab11 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 710000144ff816d3 Target Port Name: 50060e801330ab01 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 710000144ffb8f2b Target Port Name: 50060e801330ab10 Override Path: NA Path State: OK Disabled: no Initiator Port Name: 710000144ffb8f2b Target Port Name: 50060e801330ab00 Override Path: NA Path State: OK Disabled: no Target Ports: Name: 50060e801330ab51 Relative ID: 0 Name: 50060e801330ab41 Relative ID: 0 Name: 50060e801330ab50 Relative ID: 0 Name: 50060e801330ab40 Relative ID: 0 Name: 50060e801330ab11 Relative ID: 0 Name: 50060e801330ab01 Relative ID: 0 Name: 50060e801330ab10 Relative ID: 0 Name: 50060e801330ab00 Relative ID: 0 root@server1:~# luxadm display lu /dev/rdsk/c0t60060E801330AB00502030AB00001643d0s2 Error: Invalid pathname (lu) DEVICE PROPERTIES for disk: /dev/rdsk/c0t60060E801330AB00502030AB00001643d0s2 Vendor: HITACHI Product ID: OPEN-V -SUN Revision: 7303 Serial Num: 502030AB1643 Unformatted capacity: 102400.312 MBytes Write Cache: Enabled Read Cache: Enabled Minimum prefetch: 0x0 Maximum prefetch: 0x0 Device Type: Disk device Path(s): /dev/rdsk/c0t60060E801330AB00502030AB00001643d0s2 /devices/scsi_vhci/ssd@g60060e801330ab00502030ab00001643:c,raw Controller /devices/pci@309/pci@1/SUNW,qlc@0,14/fp@0,0 Device Address 50060e801330ab11,0 Host controller port WWN 710000144ff816d3 Class primary State ONLINE Controller /devices/pci@309/pci@1/SUNW,qlc@0,14/fp@0,0 Device Address 50060e801330ab01,0 Host controller port WWN 710000144ff816d3 Class primary State ONLINE Controller /devices/pci@30d/pci@1/SUNW,qlc@0,14/fp@0,0 Device Address 50060e801330ab10,0 Host controller port WWN 710000144ffb8f2b Class primary State ONLINE Controller /devices/pci@30d/pci@1/SUNW,qlc@0,14/fp@0,0 Device Address 50060e801330ab00,0 Host controller port WWN 710000144ffb8f2b Class primary State ONLINE root@server1:~# ######### Healthier path management data can be gathered with LUXADM as below how many paths exists? root@server1:~# luxadm display lu /dev/rdsk/c0t60060E801330AB00502030AB00001644d0s2 2>/dev/null | grep -c State 4 root@server1:~# how many paths are online? root@server1:~# luxadm display lu /dev/rdsk/c0t60060E801330AB00502030AB00001644d0s2 2>/dev/null | grep -c ONLINE 4 root@server1:~#