Re: Quota confusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 01, 2010 at 05:09:45PM +1300, Richard Scobie wrote:
> I am setting up project quota at 95% of  the storage capacity. df shows:
> 
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/dm-0            13672271872 11816602148 1855669724  87% /mnt/storage1
> 
> so I set it:
> 
> limit -p bhard=12988658278k 1
> 
> but when I do an xfs_quota "quota -p 1":
> 
> Disk quotas for Project shares (1)
> Filesystem              Blocks      Quota      Limit  Warn/Time
> Mounted on
> /dev/dm-0           11816148292          0 12988658280   00
> [--------] /mnt/storage1
> 
> the number of blocks is less than the limit.

Ok, that looks normal.

> Also, an xfs_quota df:
> 
> Filesystem           1K-blocks       Used  Available  Use% Pathname
> /dev/dm-0           13672271872 11816602148 1855669724   87% /mnt/storage1
> /dev/dm-0           13672271872 23632296584 1855669724  173%
> /mnt/storage1/share
> 
> I do not understand the lower "Used" figure.

Hmmm - looks like a directory quota output for a specific directory
(/mnt/storage1/share), and for some reason the used field is roughly
double the correct value. Can you post your project quota config
files?

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux