[OpenIndiana-discuss] force ZFS to update disk quota info
CJ Keist
cj.keist at colostate.edu
Thu Feb 7 22:28:07 UTC 2013
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
On 2/7/13 3:14 PM, Jan Owoc wrote:
> On Thu, Feb 7, 2013 at 3:08 PM, CJ Keist <cj.keist at colostate.edu> wrote:
>> Info: OpenIndiana (powered by illumos) SunOS 5.11 oi_151a5 June
>> 2012
>>
>> We have ZFS folder with disk quota set on it. That folder filled up, so the
>> user delete about 3Gb of files. Problem is that ZFS still thinks the folder
>> is full and will not let the user write any data. I checked the folder with
>> "df -h" and it shows correct folder size minus the 3Gb. I tried setting the
>> quota=none and then back to quota=15g, but ZFS still shows disk is full.
>
> Does the filesystem have snapshots that get counted against the quota?
>
>> Is there anyway to force ZFS to recalculate disk usage?
>
> ZFS should update the space used instantly. Try running "zfs list -o
> space name/of/filesystem" to find out where the space is (snapshots,
> dependents, etc.)
>
> Jan
>
> _______________________________________________
> 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