-
nomad:/
-
nomadI have a hot spare showing in zpool status pool0 but when I try to 'zpool remove' it I'm told it isn't in the pool.
-
nomadIt was entered wrong and I want to fix it.
-
nomad; please zpool remove pool0 /dev/rdsk/c0t5000C500C9EF094Bd0s0
-
nomadcannot remove /dev/rdsk/c0t5000C500C9EF094Bd0s0: no such device in pool
-
nomadspares
-
nomadc0t5000C500D89B482Fd0 AVAIL
-
nomad/dev/rdsk/c0t5000C500C9EF094Bd0s0 AVAIL
-
bahamatIIRC you have to do `zpool remove pool0 spare <device>`
-
nomadthat kicks out two errors.
-
nomadcannot remove spare: no such device in pool
-
nomadcannot remove /devices/scsi_vhci/disk@g5000c500c9ef094b:a,raw: no such device in pool
-
nomadignore that raw, I was trying other paths to the same device.
-
nomadcannot remove spare: no such device in pool
-
nomadcannot remove /dev/rdsk/c0t5000C500C9EF094Bd0s0: no such device in pool
-
nomadI've tried the full path, the device with s0 and the device without s0, same result regardless.
-
» nomad sighs
-
nomadso, one more try, same command I've issued multiple times.
-
bahamatTry zpool detach instead
-
nomadThis time it worked.
-
nomadI know it was the same command because it was a cut & paste from history.
-
nomad"please zpool remove pool0 /dev/rdsk/c0t5000C500C9EF094Bd0" (no s0) was the magic.
-
nomadso even though zpool status said 's0' it didn't want s0.
-
nomadI don't want s0 either.
-
nomadI'm funny that way.
-
toastersonnomad: did you alias sudo to please?
-
nomadyes
-
nomadI need more politeness in my life.
-
toastersonVery polite
-
danmcdMakes the old xkcd cartoon kinder too: "please make me a sandwich".
-
nomadI really don't want the BOFH stories to be considered advice.
-
danmcd