Remove EMC Dead Paths on Solaris

We have already discussed on how to add an EMC storage to a Solaris box. Now we have a dead path on our system where the storage team has decommisioned. Here are the steps to follow on how to remove these dead paths from our system.

Check on your current paths

root@solaris# /etc/powermt display
Symmetrix logical device count=20
CLARiiON logical device count=50
==============================================================================
----- Host Bus Adapters ---------  ------ I/O Paths -----  ------ Stats ------
### HW Path                        Summary   Total   Dead  IO/Sec Q-IOs Errors
==============================================================================
2304 ssm@0/pci@1f/lpfc@1            optimal     121      1       -     0      0
2305 ssm@0/pci@1f/lpfc@2            optimal     120      0       -     0      0

Remove the dead paths

root@solaris# /etc/powermt check
Warning: CLARiiON device path c7t4d0s0 is currently dead.
Do you want to remove it (y/n/a/q)? y
root@solaris# /etc/powermt config
root@solaris# /etc/powermt save

Verify if the dead paths are removed

root@solaris# /etc/powermt display
Symmetrix logical device count=20
CLARiiON logical device count=50
==============================================================================
----- Host Bus Adapters ---------  ------ I/O Paths -----  ------ Stats ------
### HW Path                        Summary   Total   Dead  IO/Sec Q-IOs Errors
==============================================================================
2304 ssm@0/pci@1f/lpfc@1            optimal     120      0       -     0      0
2305 ssm@0/pci@1f/lpfc@2            optimal     120      0       -     0      0