Stuffed up extending pool

Status
Not open for further replies.

Mac Thompson

Dabbler
Joined
May 12, 2016
Messages
16
so i had a 11 vdev two way mirrors in my pool and decided to extend it by adding 12 HDD in an additional 6 mirrored vdevs. Problem is that I added the 12 drives to a single mirror. As below:

upload_2017-7-15_20-33-58.png


my question is can i fix it? can i detach drives from mirror 12? if so how?
upload_2017-7-15_20-33-58.png

HP DL380p Gen 9 Chelsio 10Gbp NIC, 2 x Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 786GB RAM,
D3600 storage enclosure via a HP H240 HBA with 1 x 2 way mirrored vdevs consisting of 11 x 8TB 7200rpm SAS drives. Ad on 12 way mirrored vdev with 12x 8TB 7200 rpm SAS drives!
1.2TB L2ARC Intel 3500 NVME SSD
400GB mirrored ZIL Intel 3500 NVME SSD.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Ad on 12 way mirrored vdev with 12x 8TB 7200 rpm SAS drives!
That's some redundancy!

Yes, you can detach the ten superfluous mirror drives, but you'll have to do it at the CLI. zpool detach poolname devicename will do the job. Once you're done, detach (export) the pool from the GUI and re-import it so the GUI catches up with what you've done.
 

tvsjr

Guru
Joined
Aug 29, 2015
Messages
959
Just make sure you only detach the 10 drives you want to reuse elsewhere. Don't try to destroy that entire vdev, or you'll kill the pool (assuming it'll even let you do it, I'm not going to try!)
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Don't try to destroy that entire vdev,
It won't let you. You can detach 11 disks from a 12-disk mirror, leaving you with a single striped disk (which you also don't want to do, but it won't immediately kill your pool), but it will error out if you try to detach the 12th.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Good laugh. Thanks :)

12 way mirror.
 
Status
Not open for further replies.
Top