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!

start a 4 disk raidz1 with different disk capacity without lost all the space of the biggers disks

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
taxitain
NewUser
NewUser
Posts: 7
Joined: 19 Aug 2013 01:11
Status: Offline

start a 4 disk raidz1 with different disk capacity without lost all the space of the biggers disks

Post by taxitain »

Hello ! I'm a french geek, sorry for my spelling ! :D

If you want to create (for example) a pool raidz1 with 4 disk but the capacity of your disks is different you can obviously do that.

Everyone know that is possible but the pool will be limited by the smallest drive.

Pending you can buy others disks ($$$$$) i have a solution for minimum space lost and avoid to destroy your pool raidz on adding new disk.
I did all In command line.

Ex : with 4 disks : 2x1T, 1x500, 1x250G, you can have 1.75T of data storage.

(gpart create -s gpt "dev", and gpart add -t freebsd-zfs -l ada1p1 -s "size_in_bloc dev")

create partitions of 250G on all your disks with gpart and create a pool raidz1 with "zpool create -m /mnt/pool_name pool_name raidz device" with this 4 volumes.

create a second partition of 250G on the 2x1T and 1x500G always with gpart and create a pool raidz1 with "zpool create -m /mnt/pool_name pool_name raidz devices" with the three disk.

create a partition of 500G on the 2x1T always with gpart and create a pool mirror with this 2 last volumes, zpool create -m /mnt/pool_name pool_name mirror devices.

Synchronize the zfs config in nas4free wegui and let's start data storage.

Good you have 3 pool in place of one but you have 1.75T in place of 750G. It's only 1T of data additional. lol !

simply understand the reasonning and play with your own config.

If you don't understand how to upgrade with a new disk, ask me.

If you post a list of disks I will try to help you.
Nas4free 10.2.0.2 2118 - HP Proliant N40L - 8 Go RAM - 4x2T zfs RAIDZ1 + 1x6T - Extented GUI

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

Re: start a 4 disk raidz1 with different disk capacity without lost all the space of the biggers disks

Post by raulfg3 »

please explain that a raidZ1 build using this trick is not fail resist as one doing using same size disk.

If you lose the biggest disk, you lose ALL the pool, so this trick is interesting, but NOT RECOMENDED unless you really know his limitations.
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

taxitain
NewUser
NewUser
Posts: 7
Joined: 19 Aug 2013 01:11
Status: Offline

Re: start a 4 disk raidz1 with different disk capacity without lost all the space of the biggers disks

Post by taxitain »

if you lose the biggest disk, in my example the 1x1T, one or the other, 3 pools will be degraded but not faulted.
Of course it's heavier to manage but that works.
Nas4free 10.2.0.2 2118 - HP Proliant N40L - 8 Go RAM - 4x2T zfs RAIDZ1 + 1x6T - Extented GUI

Post Reply

Return to “ZFS (only!)”