Hi
I an currently testing with a NetApp D460C shelf (60 SAS drives).
The drives are 6TB drives, reported as 5.5TB (with lsblk)
I just need this space to move some data, but I wanted to test dRAID2
So I did something like this:
zpool create ztmp draid2:28d:60c:1s /dev/sda[m-z] /dev/sdb[a-z] /dev/sdc[a-t]
(and yes I know 28 disks is a large number, but lets ignore that for now)
pool: ztmp
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
ztmp ONLINE 0 0 0
draid2:28d:60c:1s-0 ONLINE 0 0 0
sdam ONLINE 0 0 0
sdan ONLINE 0 0 0
sdcs ONLINE 0 0 0
sdct ONLINE 0 0 0
spares
draid2-0-0 AVAIL
(I have omitted the other 56 drives)
df -h and zfs list reports 172T free space.
While zpool list shows 322T
If I understand this correctly (may use other lingo)
So the zpool create command created a pool with two RAID6 sets (two parity disks) and one spare disk. So there should be 28+27 = 55 data disks left over.
They should be 5.5TB large which is 555.5 = 302TB
Now lsblk -b reports “6001165074432” which ends up at 5.589 GB if you device with 1024 (and yes we do).
So 555.589 = 307.395 GB
Now I think to remember that zpool list shows the capacity including the parity…
So we have to add 4 * 5.589 = 22.356 + 307.395 = 329.751GB
But how do zpool list come to 322T ?
And why does the df and zfs list report a much lower value?
Just to test a bit more, I tried creating a similar pool with this:
zpool create -f ztmp raidz2 /dev/sda[m-z] /dev/sdb[a-p] raidz2 /dev/sdb[q-z] /dev/sdc[a-s] spare /dev/sdct
And here we get df/zfs list values of 287T
and zpool list value of 322T
Now this makes a bit more sense to me…
But is is just that dRAID is strange like this?
And should I care? Can I still dump 287T onto the dRAID even though it reports 172T free? Will it “adjust” along the way?
I like everything else about dRAID but this size stuff… ![]()
And please don’t let this be about why I shouldn’t create such large RAID groups
This is just an example to prove a point…