Attach an new HD as mirror

Status
Not open for further replies.

Simply

Cadet
Joined
Feb 24, 2013
Messages
1
I'm missing in FREENAS the simple option to attach a mirror drive on an existing stripe.
Example: I started with a simple server with 1 HD as stripe.
After testing I wanted more safety and added an extra HD in the system.
But within FREENAS GUI I see only the option to ADD this HD to the volume...
So I have to use the SHELL with commandos to ATTACH the new HD as mirror....
For me as noob is this not easy...
A can't find this in the manual but I’m sure I overlook it...
 

Bweidenm

Cadet
Joined
Mar 13, 2013
Messages
5
You should be able to do this with
# zpool add <pool name> mirror <original device> <mirror device>

I just tried this with the -n option to simulate and it looked like it should be working
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
You should be able to do this with
# zpool add <pool name> mirror <original device> <mirror device>
Does this actually work the way you think it does? If so I'm a bit surprised.

A much safer way, no adding:
Code:
zpool attach poolname device new_device
 
Status
Not open for further replies.
Top