Information on pool degradation

matt.anti

Cadet
Joined
Oct 26, 2021
Messages
4
Hi everybody,

I would like to understand something about the degradation of the pool:

I created a pool in RAIDZ1 with 4 disks + 1 spare disk

I removed a disk to simulate failure and the spare disk correctly replaced it.

Now the pool is in a degraded state, do I have to manually replace the "broken" disk to get it back into an online state or does it come back on its own and just have to wait for the raid to be rebuilt?

Thanks for the replies
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
The pool should return to an ONLINE state once the spare finishes resilvering. Look at zpool status -v in the Shell to check the status of the resilver. Once the resilver is done, you can replace the disk, and the spare will go back to being a spare.
 

matt.anti

Cadet
Joined
Oct 26, 2021
Messages
4
The pool should return to an ONLINE state once the spare finishes resilvering. Look at zpool status -v in the Shell to check the status of the resilver. Once the resilver is done, you can replace the disk, and the spare will go back to being a spare.

Ok, thanks for the reply
 
Top