Adding redundant drive to existing installation?

Status
Not open for further replies.

Hisma

Explorer
Joined
Mar 23, 2013
Messages
87
Hi guys

I have an existing freenas system with 3 drives -
1 3TB drive
2 1TB drives in RAID1

They are all linked together in a zfs pool.

What I want to know is how much trouble would it be to add a second redundant 3TB drive to my system without disturbing the pool. I want redundancy for the 3TB drive as well.

How would I go about this? Any guides out there? Any tips?

Thanks!
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
You can do this in CLI. What you are looking for is zpool attach (http://www.freebsd.org/cgi/man.cgi?query=zpool):
zpool attach pool device new_device

Attaches new_device to an existing zpool device. The existing device
cannot be part of a raidz configuration. If device is not currently
part of a mirrored configuration, device automatically transforms
into a two-way mirror of device and new_device. If device is part of
a two-way mirror, attaching new_device creates a three-way mirror,
and so on. In either case, new_device begins to resilver immediately.

You may also want to partition the disk first and create a swap partition. See here for more details: forums.freenas.org/threads/create-zfs-mirror-by-adding-a-drive.14880/
 
Status
Not open for further replies.
Top