[OpenIndiana-discuss] force ZFS to update disk quota info

Sašo Kiselkov skiselkov.ml at gmail.com
Thu Feb 7 22:33:05 UTC 2013


On 02/07/2013 11:28 PM, CJ Keist wrote:
> Here are actual numbers:
> 
> # du -sh *
>   11G   home
> 
> zfs list data/students/GRAD/ECE/vwb
> NAME                         USED  AVAIL  REFER  MOUNTPOINT
> data/students/GRAD/ECE/vwb  13.6G  6.37G  13.6G 
> /data/students/GRAD/ECE/vwb
> 
> As you can see there is about 3Gb difference in what du reports and what
> ZFS reports.  I bumped up his quota so that he could work.
> It's been days since this was done and ZFS is not change the disk usage.
> 
> zfs list -o space data/students/GRAD/ECE/vwb
> NAME                        AVAIL   USED  USEDSNAP  USEDDS
> USEDREFRESERV  USEDCHILD
> data/students/GRAD/ECE/vwb  6.37G  13.6G         0       0 0

Just out of curiosity, have a look at "df -h" to see if it is the thing
reported by "du" or "zfs list". Chance are, it'll be identical to "zfs
list", since it uses the kernel's filesystem info interface, rather than
doing the couting by hand (as "du" does).

Cheers,
--
Saso




More information about the OpenIndiana-discuss mailing list