Delete disk from stripe

Status
Not open for further replies.

elangley

Contributor
Joined
Jun 4, 2012
Messages
109
Hello All,

I inadvertently added a disk to a volume as a stripe instead of mirror.

Is there a way to remove it and if so how?

FreeNAS 9.10.2-U6

Thanks in advance,

~eric
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Nope. You will have to backup and rebuild the pool.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
zpool remove [-np] pool device ...
man zpool for more detail.
@danb35 , does that command work for a disk removal today? I just read the detailed description and could not conclude that it covered disks presently. Or is there more promising explanation somewhere else?
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
I believe that comes in with 11.2. It isn't there in 11.1.

I have 11.2-RC2 up and that's where I looked. Perhaps it's coming in the final release.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
No, zpool remove should work in 11.2-RC2. But it only works when all vdevs in the pool are either single disks or mirrors.
 
Status
Not open for further replies.
Top