spare and Raidz2 vdev

Trebon65

Cadet
Joined
Jun 13, 2020
Messages
2
Hi everyone,
Here is the config :

4 RaidZ2 vdev made of 6 drives each
Log
Cache
Spare drive

The second vdev had a faulted disk and the spare kicked in to replace it. Something went wrong and after few reboots the situation like this:

Pool Staus : On line and Healty
All drives are Online, except the Spare which is unavailable
The second Vdev has 5 disks , then a spare section containing 2 drives (the 6th drive and the "unavailable" spare has being online)

I do not have any lost of data or corruption , everything is rolling good - 10G netcards. But, I am not able to re-establish the configuration ( Raidz2 vdev of 6 drives and the spare drive as a general spare drive). I tried all commands on the two spare drives:
- Offline works , and I can put it back Online.
- Replace, Remove, Detach do not work

The pool seems busy , but nothing is pending. Is this a case of transferring to a new pool ?

Should I brute removed (pull-out) the 2 spare drives hoping i will be put the raidz2 in degraded mode, detach the drives (?!!?), reboot the machine, hoping the 6th drive will re-appear has missing and I will be able to perform a proper replace ?


NameReadWriteChecksumStatus
pool1000ONLINE
RAIDZ2000ONLINE
RAIDZ2000ONLINE
da15p2000ONLINE
da12p2000ONLINE
da18p2000ONLINE
da14p2 000ONLINE
da16p2000ONLINE
SPARE000ONLINE
da10p2000ONLINE
da30p2000ONLINE
RAIDZ2000ONLINE
RAIDZ2000ONLINE
log
cache
spare
da30p2000UNAVAIL
 

Trebon65

Cadet
Joined
Jun 13, 2020
Messages
2
SOLVED !
I rebooted and even if da10p2 was online , i was able to detach it , and automatically da30p2 promote itself as the 6th drive !

Since I am in Raidz2 and i can loose few disks before loose it all, I will not define spare disk and I will perform manually such a replacement
 
Top