This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Add drives to raidz

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
technogroup
NewUser
NewUser
Posts: 4
Joined: 04 Jul 2012 21:17
Status: Offline

Add drives to raidz

Post by technogroup »

Hey everyone,

I am out of space in my current system and need to figure out a way to add drives to a raidz pool. The scenario is as follows. I filled a 2TB drive and am going to purchase 4 more 2TB drives. I want to get some parity in case of drive failure so it was either Raid5 or raidz. The issue I am having is I cant find a clear answer to how to if possible create the pool/array with the 4 drives and then add my remaining drive with that data to it. I was also thinking of creating the pool/array with the drives and then copy the data over to it then add the now empty drive to the pool. I just cant find any answer on how its done or even it is possible.

The only options I think I have are as follows:
1. Transfer all data on existing drive to another location, add all 5 2TB drives as a single raid set at once then transfer back the data from other location
2. Create raid set with new drives, add another set with single drive to add to existing pool that contains other set of 4 drives. (not sure if this will add redundancy though)

If I went with option 1 and wanted to add more drives in the future I would have to use a modified version of option 2.

Im just not sure how ZFS deals with data for redundancy when having separate raid sets in a single pool.

Thanks for the help.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Add drives to raidz

Post by raulfg3 »

you can create a RaidZ1 of 5 disk but withot 5º Disk ( Faulting pool), copy your data to this new pool of 4 disk), and add the 5 disk to rebuil the pool .


PD: It's possible but not recomended because if somethings goes wrong you lose your data, so your option 1 is the best that I think.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

technogroup
NewUser
NewUser
Posts: 4
Joined: 04 Jul 2012 21:17
Status: Offline

Re: Add drives to raidz

Post by technogroup »

How would I make the faulting pool with the 5 disks if I went that route? Im not sure if I can obtain 2TB of temporary storage.

Post Reply

Return to “ZFS (only!)”