I'm using (8) 8TB HDD's for my zfs pool. OMV picks up these drives as 7.28TB each in capacity. If I use the Raid-Z2 configuration, shouldn't that yield me 7.28*6=43.68TB? OMV is only showing 39.9 which is a loss of over 3TB.
ZFS Pool Size
-
- OMV 3.x
- elastic
-
-
I hear you; I have a ZFS mirror of 2x4TB, that OMV picks up as 3.64TB.
ZFS shows my pool capacity as 3.51TB so we're talking about, roughly, a 3 to 4% loss of capacity to (I'm guessing), the file system's metadata overhead. (Since I'm using a mirror, the metadata is probably equivalent to a single unstriped drive.)
File checksum data,and other ZFS attributes would have to be stored somewhere and one could imagine that this requirement expands proportionally with the size of the media. So again, in single drives (or mirrors), I'm assuming the 3 to 4% is being utilized for metadata.
Assuming a loss of 4% to file system metadata, from unformatted capacity:
A single drive at 7.28TB would format to ZFS at roughly (4%) 6.84TB. With 6 drives, the difference is 2.6TB. With that noted, this rough figure (4%) is for a mirror, or a single drive. The additional loss that you're experiencing might be explained by additional metadata required to keep track of striping and, potentially, LVM functions.Admittedly, this is speculation but it makes sense.
Thanks for the reply.
And ZFS wants us to maintain 20% free space? That's gonna be tough
-
Yeah, and from the looks of that slick looking case you have:I'll take it you're not inclined to adding a sas card, and using tin snips to run the cables out the side to an expansion chassis, right?
I looked up your case. That's a nice box for a NAS.
______________________________________________________BTW, after posting, I went looking for file system overhead figures. I didn't find anything for ZFS which seemed odd, but I did find this. It's out of date but the figures are interesting.
Interesting find. And nah, no sas cards Besides, I need to stop buying so many HDD's, my wife is going to kill me if I keep it up
-
Hi !
I have 7x2To HDD (1,82To real) in a ZFS RAIDZ2 pool. This gives me about 8,2To off free space.
That doc should help you a lot. You can see the parity cost depending on the number of disks vs RAIDZ you can choose, and you can then set the best block size.
https://docs.google.com/spread…edit?pli=1#gid=2126998674
For me, the best is 15 block/sector (40% lost), but I choose 128 block/sector (41% lost) as it suits me better.
I have made a try with 4096/sector, and each file cost me x2 the real size ! So it is important to choose the right block size.
Anyway, every change is taken for the new created file, so if you change the block/sector size, do it at the beginning or you'll have to cut/paste all your files to another drive to your pool.Just my 2 cents from my recent runs with ZFS...
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!