xfs_quota: Getting back disk space usage of a single directory
Quoted 9 lines · Asfand Yar Qazi
Hi,
If I have an XFS mount that contains many directories, each one project-quotaed, how can I use
xfs_quotato get back the amount of quota used by just one directory?
Your question doesnt actually make sense... I assume you mean:
- you have recursively set different project IDs on multiple top level directories
- you would like to know space used by just one directory tree (project)?
Quoted 3 lines
I know I can use
xfs_quota-x -c quot -p /blah to get back quota usages
for all projects in that mount, but I want to get back just one.
Definately don't use the "quot" command, that simply bulkstats the entire filesystem and reports on space used. Use the "quota" or "report" commands with the particular directory tree (project) you are interested in.
cheers.
--
Nathan