[OpenIndiana-discuss] force ZFS to update disk quota info
CJ Keist
cj.keist at colostate.edu
Sat Feb 9 02:05:29 UTC 2013
Update to this issue. umount and remounting fixed the disk usage report
by zfs .
# zfs list data/students/GRAD/ECE/vwb
NAME USED AVAIL REFER MOUNTPOINT
data/students/GRAD/ECE/vwb 10.9G 9.06G 10.9G /data/students/GRAD/ECE/vwb
On 2/7/13 3:42 PM, CJ Keist wrote:
> Interesting, df shows same as zfs:
>
> df -h home
>
> Filesystem Size Used Avail Use% Mounted on
> data/students/GRAD/ECE/vwb
> 20G 14G 6.4G 69%
> /data/students/GRAD/ECE/vwb
>
> So looks like df reports same thing as ZFS does.
>
> Next thing I going to try is to umount the zfs mount and remount to
> see if that forces it to see the new disk usage.
>
>
>
> On 2/7/13 3:33 PM, Sašo Kiselkov wrote:
>> 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
>>
>>
>> _______________________________________________
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>
--
C. J. Keist Email: cj.keist at colostate.edu
Systems Group Manager Solaris 10 OS (SAI)
Engineering Network Services Phone: 970-491-0630
College of Engineering, CSU Fax: 970-491-5569
Ft. Collins, CO 80523-1301
All I want is a chance to prove 'Money can't buy happiness'
More information about the OpenIndiana-discuss
mailing list