Freenas 11.2 vs 11.1: Dataset used-space mismatch?

Chris123

Dabbler
Joined
Feb 21, 2016
Messages
34
A dataset with compression created in a FreeNAS 11.2 pool shows a different used-space than for an identical dataset (with identical compression) created in a FreeNAS 1.11 pool.

Seems to me that FreeNAS 11.2 now show the space saved rather than space used (edit: actually not sure what it is showing). Used gzip-9 here, but same issue when using lz4 as well.

POOL CREATED IN FREENAS 11.1
NAME PROPERTY VALUE
RAID-BACKUP/gzip9 used 32.2G
RAID-BACKUP/gzip9 referenced 32.2G
RAID-BACKUP/gzip9 compressratio 2.27x
RAID-BACKUP/gzip9 usedbydataset 32.2G
RAID-BACKUP/gzip9 refcompressratio 2.27x
RAID-BACKUP/gzip9 written 32.2G
RAID-BACKUP/gzip9 logicalused 72.7G
RAID-BACKUP/gzip9 logicalreferenced 72.7G

POOL CREATED IN FREENAS 11.2
NAME PROPERTY VALUE
RAID/gzip9 used 45.7G
RAID/gzip9 referenced 45.7G
RAID/gzip9 compressratio 2.27x
RAID/gzip9 usedbydataset 45.7G
RAID/gzip9 refcompressratio 2.27x
RAID/gzip9 written 45.7G
RAID/gzip9 logicalused 72.7G
RAID/gzip9 logicalreferenced 72.7G
 

Attachments

  • diskusagemismatch.png
    diskusagemismatch.png
    163.1 KB · Views: 253
Last edited:

Chris123

Dabbler
Joined
Feb 21, 2016
Messages
34
I used 'zfs get all pool/dataset'

'RAID' is a raid-z2, 4 disks
'RAID-BACKUP' is a mirror, 2 disks
 

Chris123

Dabbler
Joined
Feb 21, 2016
Messages
34
So it seems to be an issue with raid-z2: I created a mirror in 11.2 and it reported same size as a mirror created in 11.1.

11.1 mirror: 32.2G
11.2 mirror: 32.2G
11.2 raid-z2: 45.7G

all other settings kept the same. have not tried raid-z2 created in 11.1 or any other raid configurations

The raid-z2 also reports wrong size in GUI, but I think there is a ticket for that issue already.

This is on Freenas 11.2u1, not yet upgraded to u2.
 

Attachments

  • sizegui.png
    sizegui.png
    11.4 KB · Views: 256
Last edited:
D

dlavigne

Guest
If it is still an issue for you in U3 (due out on Monday), create a new report at redmine.ixsystems.com and post the issue number here.
 
Top