Why are you splitting it into multiple datasets? Based on what you've posted here, I'm not seeing a benefit to multiple datasets. I'm wondering if this is a holdover from the iSCSI thinking.
You'll still want to make a sub dataset. The hierarchy that you are seeing is:OMG Yes. I have to quit that don't I.
Looks good.
Yes, you don't want to exceed 80% utilization on a pool.ok so my question is, can I only fill that ZV-Archive to 80%
Gig!?So from what I can tell I am losing 12 gig of total capacity in a 36 gig array
Gig!?
You have 8 drives, so I'm not sure how you'd be at 36TB raw total space. Your total usable space will be: (Raw Space) - (Parity Space) - (Checksum space/overhead) - 20%. In this case, parity space will be 2x your drive space. Checksum/overhead space isn't that large, but it will cut you back some. Also, don't forget the decimal (marketing) to binary conversion on the HDD capacity.
There is a handy dandy ZFS HDD space calculator that will do all the calculations and give you a more exact figure.
This is not an SMB limitation. It's not even really a ZFS limitation. First and foremost, it's a Copy on Write (CoW) Filesystem issue. If you don't know, copy-on-write means that, when you make changes to a file, a brand-new copy of the entire file is written to a new location on the disk. As you use more and more of the space, there is a growing, non-zero probability that you will have to fragment your file in order to write it (because there is not enough contiguous free space for the file). Fragmentation is an issue because it requires more IOPS to read a file. As utilization climbs through 50%, the probability of fragmentation starts increasing faster. As it climbs through 80%, the probability of fragmentation skyrockets.Are you saying I only lose %20 of this total space if i Use it as an SMB/CIFS Share?
RAIDZ2 is double parity, just like RAID 6, and causes you to lose 2 drives. Which is why I said: "parity space will be 2x your drive".Does a RaidZ2 not work like a Raid 6 Where I lose 2 Drives off the top?
There's nothing particularly different about ZFS versus any other system. The one major difference is checksumming, which will only use a few hundred GB, depending on the total array size. In the "Resources" section above, there is a "ZFS RAID Size Calculator" to help with the calculations.This is where I am totally confused. I did not read anything that went into depth on why or where I lose the space.
This is not an SMB limitation. It's not even really a ZFS limitation. First and foremost, it's a Copy on Write (CoW) Filesystem issue. If you don't know, copy-on-write means that, when you make changes to a file, a brand-new copy of the entire file is written to a new location on the disk. As you use more and more of the space, there is a growing, non-zero probability that you will have to fragment your file in order to write it (because there is not enough contiguous free space for the file). Fragmentation is an issue because it requires more IOPS to read a file. As utilization climbs through 50%, the probability of fragmentation starts increasing faster. As it climbs through 80%, the probability of fragmentation skyrockets.
With ZFS, which is a CoW filesystem, you want to keep your utilization below 80%. When you use iSCSI (or any block storage) with a CoW filesystem, you want to keep your utilization below 50%, because the filesystem is no longer aware of the actual files, and effectively sees the block storage as one big file.
RAIDZ2 is double parity, just like RAID 6, and causes you to lose 2 drives. Which is why I said: "parity space will be 2x your drive".
There's nothing particularly different about ZFS versus any other system. The one major difference is checksumming, which will only use a few hundred GB, depending on the total array size. In the "Resources" section above, there is a "ZFS RAID Size Calculator" to help with the calculations.
If you are using the calculator from the resources, you should see a line "Usable data space". This factors in the minimum recommended empty space (hence the "Minimum recommended free space" line above it). Assuming that this is the line you are looking at, then you get 100% of it.
However, it's not like something magic happens at 80% that causes everything to go wrong. There is a continuum of performance hits, and for typical work loads, 80% represents something of an inflection point. However, for your workload, 75% might be closer to your inflection point. And furthermore, 80% may represent unacceptable performance for your workload (inflection point or not). You may need 60%. Or you might get away with 85%.
Lastly, don't forget to factor in your expected data growth. If you plan on using snapshots, make sure to factor in that space.
ok so my question is, can I only fill that ZV-Archive to 80%
when you make changes to a file, a brand-new copy of the entire file is written to a new location on the disk
Whoops, right you areOnly the blocks that changed, not the whole file.