Quota confusion

Richard Scobie richard at sauce.co.nz
Thu Sep 30 23:09:45 CDT 2010


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.

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.

Any help appreciated.

Regards,

Richard





More information about the xfs mailing list