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!

Trying to set up a ZFS Pool - WONT WORK

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
jabami
NewUser
NewUser
Posts: 7
Joined: 17 May 2013 11:37
Status: Offline

Trying to set up a ZFS Pool - WONT WORK

Post by jabami »

Hi there,

Im trying to set up a NAS with a ZFS File System. Using 4 HDDS in one Raidz-VDEF mounted as one ZFS-Pool. However, I can´t to get this to work via the GUI. Everytime I try I get a failure message in the ZFS-Pools-Management Window. However, creating a VDEF with all HDD´s in Raidz prior to creating the Pool works just fine.
Now the odd thing is, when creating the Pool via ssh I get the following:

Code: Select all

login as: root
root@192.168.178.38's password:
Last login: Wed May 22 12:47:16 2013
Welcome to NAS4Free!
nas4free:~# gnop create -S 4096 ada0
nas4free:~# gnop create -S 4096 ada1
nas4free:~# gnop create -S 4096 ada2
nas4free:~# gnop create -S 4096 ada3
nas4free:~# zpool create -n Pool1 raidz ada0.nop ada1.nop ada2.nop ada3.nop
invalid vdev specification
use '-f' to override the following errors:
raidz contains devices of different sizes
nas4free:~#
Note that I was doing a "Dry Run" just to show the Failure. However, If I now force the ZFS-pool to be established, I get the following:

Code: Select all

nas4free:~# zpool create -f Pool1 raidz ada0.nop ada1.nop ada2.nop ada3.nop
nas4free:~# zpool status -v
  pool: Pool1
 state: ONLINE
  scan: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        Pool1         ONLINE       0     0     0
          raidz1-0    ONLINE       0     0     0
            ada0.nop  ONLINE       0     0     0
            ada1.nop  ONLINE       0     0     0
            ada2.nop  ONLINE       0     0     0
            ada3.nop  ONLINE       0     0     0

errors: No known data errors
nas4free:~#
So the ZFS-Pool named Pool1 has been created using Raidz. Now checking the allignment:

Code: Select all

nas4free:~# zdb -C | grep ashift
            ashift: 12
nas4free:~#
Well that looks nice... But If check on the Pools actual size ... I get a surprise such as:

Code: Select all

nas4free:~# zpool list
NAME    SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
Pool1  2.33T   912K  2.33T     0%  1.00x  ONLINE  -
nas4free:~#
The last statement is absolutely hilarious as Im using WD 3TB Red as ada0 and ada1; a WD Caviar Blue 650GB as ada2 and a Seagate Barracuda.7200.12 as ada3.
Now where is my mistake? I would expect the Poolsize to be around 6.7 TB not 2.33 TB!!!
I allready used wipe.sh from the wiki to clean the HDD´s prior to creating the ZFS-Pool. Furthermore, I reinstalled the system, cleaned the config-File. Tried both the WEB-Gui (Which would´nt create the Pool at all) and forced Pool-creation via ssh as shown above.
Any suggestions are highly appreciated.


NAS4Free latest Version (NAS4Free-9.1.0.1/9.1.0.1.690) on USB Stick (Embedded install)
2x WD Red 3TB
1x WD Caviar Blue 650GB
1x Seagate Barracuda.7200.12
HP ProLiant Micro Server N40l

Until now there is no Data on the HDD´s so I don´t have to worry about any Dataloss what so ever!

Thank you very much for your help!

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Trying to set up a ZFS Pool - WONT WORK

Post by b0ssman »

you used hds with different sizes.

the smallest size determines the raid size.

so in effect you have 4 650 GB Drives in that configuration.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

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

Re: Trying to set up a ZFS Pool - WONT WORK

Post by raulfg3 »

jabami wrote:The last statement is absolutely hilarious as Im using WD 3TB Red as ada0 and ada1; a WD Caviar Blue 650GB as ada2 and a Seagate Barracuda.7200.12 as ada3.
Now where is my mistake? I would expect the Poolsize to be around 6.7 TB not 2.33 TB!!!
answer by b0ssman,.

But if you want to have more space, perhaps you want a JOBD of disk, it's possible to do with ZFS, but remember that you lose redundancy, and I do not suggest, only need to eliminate raidz from your create command.

Read this to understand: http://forums.freenas.org/showthread.ph ... -for-noobs!

PD: Based in your actual disk, your better config using redundancy is create a mirror using 3TB disk, and use 650GB and Seagate as individual Disk.

In future you can grow adding 2 3TB disk in miror to existing Mirror and have 6TB in mirror
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

jabami
NewUser
NewUser
Posts: 7
Joined: 17 May 2013 11:37
Status: Offline

Re: Trying to set up a ZFS Pool - WONT WORK

Post by jabami »

Hi there,

thanks for these answers! Just to get this right, I NEED Hdd´s of the same size to maximize my Raids effective storage capacity? Actually I read the "SlideShow" but I can´t remember it stating to use Hdd´s of the same size.

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: Trying to set up a ZFS Pool - WONT WORK

Post by raulfg3 »

jabami wrote:Just to get this right, I NEED Hdd´s of the same size to maximize my Raids effective storage capacity?
YES
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

Post Reply

Return to “ZFS (only!)”