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!

Use complete capacity of volumes or datasets ?

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Use complete capacity of volumes or datasets ?

Post by drnicolas »

I read something that only 80% of the capacity of ZFS should be used and at least 20% should stay empty.

I use 2 different techniques with ZFS.

1. a ZFS-volume which is forwarded as an iSCSI-Target to my W2008R2 machine and used for Backup-to-disk.
2. a ZFS-dataset forwardes as a CIFS-share and also used as B2D on the W2008R2 machine.

Both seem to work after disabling the sync-feature.
But as more data is stored i am reaching the 80% margin for the ZFS-dataset.

Is this a problem ?
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

Re: Use complete capacity of volumes or datasets ?

Post by crowi »

NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

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

Re: Use complete capacity of volumes or datasets ?

Post by b0ssman »

depends on the scenario.

if your writes are very infrequent and mostly reads then you can go higher than 80%.
ie just dumping large videos onto the pool. and then playing them.

however be warned. if your file system become completely full, you wont be able to delete files easily and need to do some command line trick to get around that.
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.

substr
experienced User
experienced User
Posts: 113
Joined: 04 Aug 2013 20:21
Status: Offline

Re: Use complete capacity of volumes or datasets ?

Post by substr »

The margins refer to the pool (zpool list), not any particular volume or dataset. Dataset have a limit usually equal to free space left on the pool, or a quota limit. You can fill a volume to whatever you think is appropriate for the type of filesystem you have on the volume, but keep in mind that many of those rules assume a real hard disk. ZFS doesn't work like a real hard disk.

Post Reply

Return to “ZFS (only!)”