A supposedly straightforward process and I messed up.
Take the problem hard drive offline with:
$ zpool offline poolname devicename
Remove the old hard drive out. Put in the new shiny one in. Then type:
$ zpool online poolname devicename (if needed)
My system was set up to auto detect new devices and add them to the
pool. Big mistake. That ADDED the device as a new top level virtual
device. Leaving my pool still degraded. Worse, this process is
irreversible. I had to destroy the pool and start creating a new one
for data. Data stored here is mostly downloadable so data is not lost.
Lesson is do not ADD devices the command to use is REPLACE.
$ zpool replace poolname olddevicename newdevicename
Take the problem hard drive offline with:
$ zpool offline poolname devicename
Remove the old hard drive out. Put in the new shiny one in. Then type:
$ zpool online poolname devicename (if needed)
My system was set up to auto detect new devices and add them to the
pool. Big mistake. That ADDED the device as a new top level virtual
device. Leaving my pool still degraded. Worse, this process is
irreversible. I had to destroy the pool and start creating a new one
for data. Data stored here is mostly downloadable so data is not lost.
Lesson is do not ADD devices the command to use is REPLACE.
$ zpool replace poolname olddevicename newdevicename
Comments