Detach drive from mirror

Papid1975

Dabbler
Joined
Jun 29, 2020
Messages
40
I have a natively encrypted mirror (2 disks) and would like to remove one disk to us it otherwise. Couldn’t find anything in the GUI. Is there still a way to do that?
 

Papid1975

Dabbler
Joined
Jun 29, 2020
Messages
40
Used zpool detatch <poolname> <diskname>. Doesn’t seem to mess with the encryption or anything.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Yes, that is one way to do it.

Note that the removed disk is not necessarily usable as a ZFS pool. ZFS has a special method to remove a mirror drive, (or drives in the case of a multi-vDev mirror setup), that preserves the integrity of ZFS in the detached mirror(s);

zpool split pool newpool [device]

But, if you just wanted to use the disk for another reason and don't care about the existing data, then what you did was fine.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Couldn’t find anything in the GUI.
Not sure why not:
1634951567937.png
 
Top