Solved Incorrect disk size reported for ZFS filesystems after 10.2 upgrade

I upgraded from 10.0-RELEASE to 10.2-RELEASE successfully. However the system is now reporting a different size for the zfs file systems.

result for df in 10.0:

Code:
Filesystem  1K-blocks  Used  Avail Capacity  Mounted on
data  8887411603  8226012836  661398767  93%  /data
main  13375108618 12275755567 1099353051  92%  /main

result for df in 10.2:
Code:
Filesystem  1K-blocks  Used  Avail Capacity  Mounted on
data  8746341243  8226012836  520328407  94%  /data
main  13162804746 12275755583  887049163  93%  /main

Note that the result of zpool list has not changed:

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  -

Any help is appreciated.
 
This happened to me on centos 7. I upgraded from 0.6.3-1.2 > 0.6.5.8-1 and noticed I lost 1.5% on available space. Have you heard anything in the past year?

Chris
 
I figured it out. I checked the zfs source code and there is a "buffer" between the actual size of the filesystem and what is reported to the OS. The buffer size was increased 10.2.
 
Back
Top