Quota confusion
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
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 11 lines · Richard Scobie
I am setting up project quota at 95% of the storage capacity. df shows:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/dm-013672271872 11816602148 1855669724 87%/mnt/storage1so I set it:
limit -p bhard=12988658278k 1
but when I do an
xfs_quota"quota -p 1":
Quoted 7 lines
Disk quotas for Project shares (1)
Filesystem Blocks Quota Limit Warn/Time
Mounted on/dev/dm-011816148292 0 12988658280 00
[--------]/mnt/storage1the number of blocks is less than the limit.
Ok, that looks normal.
Quoted 8 lines
Also, an
xfs_quotadf:Filesystem 1K-blocks Used Available Use% Pathname
/dev/dm-013672271872 11816602148 1855669724 87%/mnt/storage1/dev/dm-013672271872 23632296584 1855669724 173%/mnt/storage1/shareI 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.
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 9 lines · Dave Chinner
Quoted 7 lines
Disk quotas for Project shares (1)
Filesystem Blocks Quota Limit Warn/Time
Mounted on/dev/dm-011816148292 0 12988658280 00
[--------]/mnt/storage1the number of blocks is less than the limit.
Ok, that looks normal.
Ah. I was interpreting as total blocks, not blocks used.
Quoted 7 lines
Quoted 7 lines
Also, an
xfs_quotadf:Filesystem 1K-blocks Used Available Use% Pathname
/dev/dm-013672271872 11816602148 1855669724 87%/mnt/storage1/dev/dm-013672271872 23632296584 1855669724 173%/mnt/storage1/share
Quoted 6 lines
Quoted 1 line
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?
/etc/projects 1:/mnt/storage1/share/etc/projid shares:1
kernel 2.6.35.4 xfsprogs 3.0.4
Regards,
Richard
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Hi Dave,
Quoted 9 lines · Dave Chinner
Quoted 7 lines
Disk quotas for Project shares (1)
Filesystem Blocks Quota Limit Warn/Time
Mounted on/dev/dm-011816148292 0 12988658280 00
[--------]/mnt/storage1the number of blocks is less than the limit.
Ok, that looks normal.
Ah. I was interpreting as total blocks, not blocks used.
Quoted 7 lines
Quoted 7 lines
Also, an
xfs_quotadf:Filesystem 1K-blocks Used Available Use% Pathname
/dev/dm-013672271872 11816602148 1855669724 87%/mnt/storage1/dev/dm-013672271872 23632296584 1855669724 173%/mnt/storage1/share
Quoted 6 lines
Quoted 1 line
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?
/etc/projects 1:/mnt/storage1/share/etc/projid shares:1
kernel 2.6.35.4 xfsprogs 3.0.4
Regards,
Richard
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs