TLDR; My opinions mixed with some anecdotal information.
- I APPRECIATE THE EFFORTS IN TRYING TO UNDERSTAND AN ISSUE, ALWAYS ASK QUESTIONS
- WHEN TRYING TO UNDERSTAND A PROBLEM, START AT THE BOTTOM AND WORK YOUR WAY UP.
- YOU STARTED FROM THE TOP AND WORKED YOUR WAY DOWN.
- PLEASE ASK QUESTIONS BEFORE JUMPING TO CONCLUSIONS.
- USING CONSISTENT UNITS OF MEASUREMENTS MATTERS.
- IT'S DANGEROUS TO BE CONFIDENT IN YOUR CONCLUSIONS WITHOUT ASKING QUESTIONS.
- BEFORE MAKING CLAIMS OF MALFEISANCE AND/OR QUESTION SECURITY, PLEASE DOUBLE CHECK YOUR WORK.
- YOU WENT FROM 0-180 HERE BEFORE STOPPING TO CONSIDER ASKING QUESTIONS
I'm still not entirely convinced, by your data, of anything? In what limited data you've shared I don't see anything at all...Other than SSD sizes being weird (and potentially mis-marketed a bit)...
A 10 TB Hard Drive is really only a bit over 9 TiB. TiB are all that really matter.
SSDs (and flash storage in general) make this worse by having weird sizes in the other direction. They are sometimes marketed as 128GB but they actually mean 128GiB...
A fun way to prove this? Take a 8GB flash drive from two or three different manufacturers. Try and DD exactly 8GB to them. Then try and DD 8GiB to them. On top of the weird problems with GB vs GiB you'll likely find those flash drives are neither 8GB or 8GiB, but somewhere in between. Lets refer to this as
the fudge factor.
How do I know all of this? I had to DD thousands of flash drives and SSDs over the last few years. Don't ask. But also don't take my word for it. Feel free to audit my claim. I don't
know if this same phenomenon exists with HDDs though, never really thought about it till just now.
Because of history, and fun, we've had to create multiple definitions of what a "byte" is.
Then, add the filesystem? Iin this case, ZFS, will inherently use some space.
Let me provide a hypothetical example:
- In RAIDZ1, one of the disks' worth of space is reserved for parity. So, with 4 x 1TB drives, you'll effectively have 3TB of usable space.
- ZFS reserves a small portion (around 1/64th) of the disk space for its "slop space". This is used to ensure that ZFS doesn't run out of space for its administrative tasks.
Code:
The base-10 (decimal) system, where:
1 kilobyte (KB) = 1,000 bytes
1 megabyte (MB) = 1,000 KB = 1,000,000 bytes
1 gigabyte (GB) = 1,000 MB = 1,000,000,000 bytes
The base-2 (binary) system, where:
1 kibibyte (KiB) = 1,024 bytes
1 mebibyte (MiB) = 1,024 KiB = 1,048,576 bytes
1 gibibyte (GiB) = 1,024 MiB = 1,073,741,824 bytes
For a 3TB setup, this would be around 51539607552 bytes.
Converting this to GiB (using the base-2 measurement): 46,875,000,000,000 bytes ÷ 1,073,741,824 bytes/GiB .... ish 40GiB
So, the "slop space" would be about 43,690.48 GiB for a 3TB (base-10) setup.
Why Don't you double check my math with your own disks :P I don't think you said, but I am assuming your 6 480GB Drives are in a RAIDZ2. Make sure you consider
the fudge factor and use the right (or at least consistent) units of measurement.
HINT: The math will be damn close
(Samsung SM863 480GB)
all 6 of them had
DCO's (hidden areas much like an
HPA - "hidden protected area") the size o
f 40GB's which were not originally on these drives. I have never overprovisioned the drives with any tools or purposefully created these DCO's, they just appeared sometime over the course of 6 months.
Everything seems to be explainable here. No whacky conspiracy theories IMO. I'll let others jump in with supporting information here that aren't just my personal anecdotes.