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!

4x1Tb with RAIDZ2 gives 4Tb free space?

New installs of XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
riporto
Starter
Starter
Posts: 22
Joined: 18 Apr 2013 16:27
Location: Milan, Italy/Lugano, Switzerland
Status: Offline

4x1Tb with RAIDZ2 gives 4Tb free space?

Post by riporto »

Hi all,
I've rebuild my server after an apparent disk crash deleting and formatting all my four 1Tb disks.
This time I'll try RAIDZ2, before i had RAIDZ1, disk space is not an issue for me so from the original 4Tb if I can use only 2Tb is ok for me.
I set up all as usual, build pool, virtual device and datasets and all is ok but, and there is a but, in pools/management and in the system home page it gives me free space 3.62Tb! What's that? With RAIDZ2 there should be less than 2Tb free space! No? What I did wrong???
MAIN SYSTEM: NAS4Free 10.2.0.2.2268 | Asus P8H61-I LX R2.0 |Celeron G1610 @ 2.60GHz | 2xPATRIOT Dimm 8 Gb ddr3 1333 MHz CL9 | 4x1Tb 2.5" Seagate ST1000LM024
EXPERIMENTAL SYSTEM: NAS4Free 10.2.0.2.2268 | ASRock D1800B-ITX | 2xKINGSTON SoDimm ValueRam 2 GB DDR3 1333 MHz CL9 | Patriot Inferno 120GB SSD

kenZ71
Advanced User
Advanced User
Posts: 379
Joined: 27 Jun 2012 20:18
Location: Northeast, USA
Status: Offline

Re: 4x1Tb with RAIDZ2 gives 4Tb free space?

Post by kenZ71 »

Sounds more like a Raid setup.

Under Disks|ZFS|Configuration|Detected what do you see for Type?
11.2-RELEASE-p3 | ZFS Mirror - 2 x 8TB WD Red | 28GB ECC Ram
HP ML10v2 x64-embedded on Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz

Extra memory so I can host a couple VMs
1) Unifi Controller on Ubuntu
2) Librenms on Ubuntu

riporto
Starter
Starter
Posts: 22
Joined: 18 Apr 2013 16:27
Location: Milan, Italy/Lugano, Switzerland
Status: Offline

Re: 4x1Tb with RAIDZ2 gives 4Tb free space?

Post by riporto »

Image
MAIN SYSTEM: NAS4Free 10.2.0.2.2268 | Asus P8H61-I LX R2.0 |Celeron G1610 @ 2.60GHz | 2xPATRIOT Dimm 8 Gb ddr3 1333 MHz CL9 | 4x1Tb 2.5" Seagate ST1000LM024
EXPERIMENTAL SYSTEM: NAS4Free 10.2.0.2.2268 | ASRock D1800B-ITX | 2xKINGSTON SoDimm ValueRam 2 GB DDR3 1333 MHz CL9 | Patriot Inferno 120GB SSD

User avatar
Snapshot
Starter
Starter
Posts: 32
Joined: 02 Dec 2015 10:27
Location: Wiltshire, England
Status: Offline

Re: 4x1Tb with RAIDZ2 gives 4Tb free space?

Post by Snapshot »

I see the same with around 7.3TB free using 4 x 2TB drives in RAIDz1 so I think it is just reporting the total space available. I would expect to see the space decrease more quickly as data is copied to the RAID but I haven't checked this yet.

I can now confirm that this is what's happening - I copied a 117GB file to the RAIDz1 and the allocated space went up by 154GB. This is exactly the difference one would expect on a four-drive RAIDz1.
HP Gen8 Microserver, Intel i5-3470T, 16GB RAM, 4 x 3TB WD Reds, Samsung Bar 32GB USB stick

riporto
Starter
Starter
Posts: 22
Joined: 18 Apr 2013 16:27
Location: Milan, Italy/Lugano, Switzerland
Status: Offline

Re: 4x1Tb with RAIDZ2 gives 4Tb free space?

Post by riporto »

Hm in my previous configuration I had RAIDZ1 with the four 1Tb disks and in System>General I saw less than 3Tb available space, which is correct as with RAIDZ1 you will loose about one disk space.
I don't understand why with RAIDZ2 I see almost 4Tb free space when I should see about 2Tb...
I must have done something wrong in configuration (what???) or in the latest NAS4FREE version something has changed...
MAIN SYSTEM: NAS4Free 10.2.0.2.2268 | Asus P8H61-I LX R2.0 |Celeron G1610 @ 2.60GHz | 2xPATRIOT Dimm 8 Gb ddr3 1333 MHz CL9 | 4x1Tb 2.5" Seagate ST1000LM024
EXPERIMENTAL SYSTEM: NAS4Free 10.2.0.2.2268 | ASRock D1800B-ITX | 2xKINGSTON SoDimm ValueRam 2 GB DDR3 1333 MHz CL9 | Patriot Inferno 120GB SSD

User avatar
Snapshot
Starter
Starter
Posts: 32
Joined: 02 Dec 2015 10:27
Location: Wiltshire, England
Status: Offline

Re: 4x1Tb with RAIDZ2 gives 4Tb free space?

Post by Snapshot »

I see the same as you but with z1 so perhaps NAS4FREE has changed the way it reports disk space. I agree that showing the effective available space is more sensible.
HP Gen8 Microserver, Intel i5-3470T, 16GB RAM, 4 x 3TB WD Reds, Samsung Bar 32GB USB stick

riporto
Starter
Starter
Posts: 22
Joined: 18 Apr 2013 16:27
Location: Milan, Italy/Lugano, Switzerland
Status: Offline

Re: 4x1Tb with RAIDZ2 gives 4Tb free space?

Post by riporto »

I've tryed an "experiment" like yours Snapshot, I've copyed a 12Gb file on my RAIDZ2 server and I see 23.7Gb allocated space, almost double the dimension of the file I've copyed. As per your reasoning it should be correct as with RAIDZ2 I will loose double the space used.
Hope it is correct and all will work fine...
MAIN SYSTEM: NAS4Free 10.2.0.2.2268 | Asus P8H61-I LX R2.0 |Celeron G1610 @ 2.60GHz | 2xPATRIOT Dimm 8 Gb ddr3 1333 MHz CL9 | 4x1Tb 2.5" Seagate ST1000LM024
EXPERIMENTAL SYSTEM: NAS4Free 10.2.0.2.2268 | ASRock D1800B-ITX | 2xKINGSTON SoDimm ValueRam 2 GB DDR3 1333 MHz CL9 | Patriot Inferno 120GB SSD

Post Reply

Return to “Install XigmaNAS”