zfs pool size incorrect after FreeBSD 10.2 upgrade

Status
Not open for further replies.

fcn

Cadet
Joined
Jan 16, 2016
Messages
3
I am not using FreeNAS but "just" FreeBSD (I am actually considering switching to make my life easier). There are knowledgeable zfs people in this forum so I hope that I can get help.

Before 10.2 (9.2, 9.3 and then 10.0) my pools size was as follow:
Code:
Filesystem   1K-blocks  Used        Avail       Capacity    Mounted on
data       8887411603   8226012836  661398767    93%        /data
main      13375108618  12275755567 1099353051    92%        /main


After 10.2 upgrade, the same df gives:
Code:
Filesystem  1K-blocks   Used         Avail      Capacity  Mounted on
data        8746341243  8226012836  520328407    94%      /data
main       13162804746 12275755583  887049163    93%      /main


This is consistent with the zfs list command (below for 10.2):
Code:
NAME    USED     AVAIL  REFER  MOUNTPOINT
data    7.66T    496G   7.66T  /data
main    11.4T    854G   11.4T  /main


The total size (and as a result the available space) is 100GB to 200GB smaller after the upgrade

Both pools are raidz2 (seven 2TB disks for data and seven 3TB disks for main). I have mix of internal SATA + M1015 (driver v20 and firmware P20). the M1015 were using firmware P15 and I updated them to P20 to see if this was causing the issue.

any help would be appreciated.
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
No one on this forum is running FreeBSD 10.

df is a bad tool to track usage. Do you have the zfs list data from 9.3? Have any of the pool properties changed? What version is the pool?
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Yeah, as depasseg says, "df" doesn't necessarily produce correct information on zpools. There is a technical reason for this---which I have forgotten.
 

fcn

Cadet
Joined
Jan 16, 2016
Messages
3
no change in the pools or in any other place outside of the 10.2 upgrade

from dmesg:
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)

The zfs list from 9.3 was matching the df from 9.3 (I did not save the output).
I exported my pools, booted to a disk with 10.0, re-imported the pools and got the "old" numbers (df and zfs list). I then went back to 10.2 and ended-up with the "new" size again.

I could go back to 10 for troubleshooting but now that the M1015 have P20 it may be an issue with 10 (not sure what version the driver is).

zpool list did however not change from 9.3 to 10.2:
Code:
NAME SIZE   ALLOC FREE CAP DEDUP HEALTH ALTROOT
data 12.6T  11.5T 1.12T 91% 1.00x ONLINE -
main 19T    17.2T 1.83T 90% 1.00x ONLINE -
 
Status
Not open for further replies.
Top