Tag Archives: powermt

Solaris SVM error when attaching a new disk – metattach I/O Error

I was trying to increase a metadevice with another disk but I was getting an I/O error

root@solaris:~ # metattach d200 /dev/rdsk/emcpower46c
metattach: solaris: /dev/dsk/emcpower46c: I/O error

Nothing strange was appearing in the emcpower disk

root@solaris:~ # powermt display dev=emcpower46
Pseudo name=emcpower46a
Symmetrix ID=000287752010
Logical device ID=01A1
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3072 pci@8,600000/SUNW,emlxs@1/fp@0,0 c1t5006048449AFD288d18s0 FA 9aA active alive 0 0
3073 pci@8,600000/SUNW,emlxs@2/fp@0,0 c2t5006048449AFD287d18s0 FA 8aA active alive 0 0

A friend here at work asked if the disk has a label. It didn’t have one.

selecting emcpower46e
[disk formatted]
Disk not labeled. Label it now? yes

After that I was able to increase the metadevice.

root@solaris:~ # metattach d200 /dev/rdsk/emcpower46c
d200: component is attached

Removing dead paths on EMC PowerPath

Check the HBA paths with powermt display and check if there are any failed path.

root@solaris:~ # powermt display
Symmetrix logical device count=12
CLARiiON logical device count=24
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
—– Host Bus Adapters ——— —— I/O Paths —– —— Stats ——
### HW Path Summary Total Dead IO/Sec Q-IOs Errors
==============================================================================
2304 ssm@0,0/pci@1c,700000/pci@3/lpfc@4 failed 12 12 – 0 12
2305 ssm@0,0/pci@1c,700000/pci@3/lpfc@5 optimal 12 0 – 0 0
2306 ssm@0,0/pci@1c,600000/lpfc@1 failed 24 24 – 0 24
2307 ssm@0,0/pci@1d,700000/pci@1/lpfc@4 failed 12 12 – 0 12
2308 ssm@0,0/pci@1d,700000/pci@1/lpfc@5 optimal 12 0 – 0 0
2309 ssm@0,0/pci@1d,600000/lpfc@1 optimal 24 0 – 1 0

To remove the failed paths, run powermt check

root@solaris:~ # powermt check
Warning: Symmetrix device path c5t18d10s0 is currently dead.
Do you want to remove it (y/n/a/q)? a
Warning: Symmetrix device path c5t18d11s0 is currently dead.
Warning: Symmetrix device path c5t18d12s0 is currently dead.
Warning: Symmetrix device path c5t18d1s0 is currently dead.
Warning: Symmetrix device path c5t18d2s0 is currently dead.
Warning: Symmetrix device path c5t18d3s0 is currently dead.
Warning: Symmetrix device path c5t18d4s0 is currently dead.
Warning: Symmetrix device path c5t18d5s0 is currently dead.
Warning: Symmetrix device path c5t18d6s0 is currently dead.
Warning: Symmetrix device path c5t18d7s0 is currently dead.
Warning: Symmetrix device path c5t18d8s0 is currently dead.
Warning: Symmetrix device path c5t18d9s0 is currently dead.
Warning: Symmetrix device path c7t19d10s0 is currently dead.
Warning: Symmetrix device path c7t19d11s0 is currently dead.
Warning: Symmetrix device path c7t19d12s0 is currently dead.
Warning: Symmetrix device path c7t19d1s0 is currently dead.
Warning: Symmetrix device path c7t19d2s0 is currently dead.
Warning: Symmetrix device path c7t19d3s0 is currently dead.
Warning: Symmetrix device path c7t19d4s0 is currently dead.
Warning: Symmetrix device path c7t19d5s0 is currently dead.
Warning: Symmetrix device path c7t19d6s0 is currently dead.
Warning: Symmetrix device path c7t19d7s0 is currently dead.
Warning: Symmetrix device path c7t19d8s0 is currently dead.
Warning: Symmetrix device path c7t19d9s0 is currently dead.
Warning: CLARiiON device path c1t16d0s0 is currently dead.
Warning: CLARiiON device path c1t16d10s0 is currently dead.
Warning: CLARiiON device path c1t16d11s0 is currently dead.
Warning: CLARiiON device path c1t16d12s0 is currently dead.
Warning: CLARiiON device path c1t16d13s0 is currently dead.
Warning: CLARiiON device path c1t16d14s0 is currently dead.
Warning: CLARiiON device path c1t16d15s0 is currently dead.
Warning: CLARiiON device path c1t16d16s0 is currently dead.
Warning: CLARiiON device path c1t16d17s0 is currently dead.
Warning: CLARiiON device path c1t16d18s0 is currently dead.
Warning: CLARiiON device path c1t16d19s0 is currently dead.
Warning: CLARiiON device path c1t16d1s0 is currently dead.
Warning: CLARiiON device path c1t16d20s0 is currently dead.
Warning: CLARiiON device path c1t16d21s0 is currently dead.
Warning: CLARiiON device path c1t16d22s0 is currently dead.
Warning: CLARiiON device path c1t16d23s0 is currently dead.
Warning: CLARiiON device path c1t16d2s0 is currently dead.
Warning: CLARiiON device path c1t16d3s0 is currently dead.
Warning: CLARiiON device path c1t16d4s0 is currently dead.
Warning: CLARiiON device path c1t16d5s0 is currently dead.
Warning: CLARiiON device path c1t16d6s0 is currently dead.
Warning: CLARiiON device path c1t16d7s0 is currently dead.
Warning: CLARiiON device path c1t16d8s0 is currently dead.
Warning: CLARiiON device path c1t16d9s0 is currently dead.
Warning: CLARiiON device path c2t17d0s0 is currently dead.
Warning: CLARiiON device path c2t17d10s0 is currently dead.
Warning: CLARiiON device path c2t17d11s0 is currently dead.
Warning: CLARiiON device path c2t17d12s0 is currently dead.
Warning: CLARiiON device path c2t17d13s0 is currently dead.
Warning: CLARiiON device path c2t17d14s0 is currently dead.
Warning: CLARiiON device path c2t17d15s0 is currently dead.
Warning: CLARiiON device path c2t17d16s0 is currently dead.
Warning: CLARiiON device path c2t17d17s0 is currently dead.
Warning: CLARiiON device path c2t17d18s0 is currently dead.
Warning: CLARiiON device path c2t17d19s0 is currently dead.
Warning: CLARiiON device path c2t17d1s0 is currently dead.
Warning: CLARiiON device path c2t17d20s0 is currently dead.
Warning: CLARiiON device path c2t17d21s0 is currently dead.
Warning: CLARiiON device path c2t17d22s0 is currently dead.
Warning: CLARiiON device path c2t17d23s0 is currently dead.
Warning: CLARiiON device path c2t17d2s0 is currently dead.
Warning: CLARiiON device path c2t17d3s0 is currently dead.
Warning: CLARiiON device path c2t17d4s0 is currently dead.
Warning: CLARiiON device path c2t17d5s0 is currently dead.
Warning: CLARiiON device path c2t17d6s0 is currently dead.
Warning: CLARiiON device path c2t17d7s0 is currently dead.
Warning: CLARiiON device path c2t17d8s0 is currently dead.
Warning: CLARiiON device path c2t17d9s0 is currently dead.

After clearing the dead paths it will show only the active paths

root@solaris:~ # powermt display
Symmetrix logical device count=12
CLARiiON logical device count=0
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
—– Host Bus Adapters ——— —— I/O Paths —– —— Stats ——
### HW Path Summary Total Dead IO/Sec Q-IOs Errors
==============================================================================
2305 ssm@0,0/pci@1c,700000/pci@3/lpfc@5 optimal 12 0 – 0 0
2308 ssm@0,0/pci@1d,700000/pci@1/lpfc@5 optimal 12 0 – 0 0

%d bloggers like this: