Hi all,
is any one aware quotas not working in 5,5?
I'm using XFS as a file system.
My fstab has the appropriate usrquota,grpquota but when I try to run;
quotacheck -cug /foo
I get;
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
I already have a large amount of data in the mount. Do quotas get implemented on only empty filesystems and then one adds data?
- aurf
Hi :)
On Tue, Jan 18, 2011 at 3:15 AM, aurfalien@gmail.com wrote:
Hi all,
is any one aware quotas not working in 5,5?
I'm using XFS as a file system.
My fstab has the appropriate usrquota,grpquota but when I try to run;
quotacheck -cug /foo
I get;
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
Did you remount /foo after modifying /etc/fstab?
BTW: http://linux.die.net/man/8/xfs_quota
check the QUOTA ADMINISTRATION section:
"The quotacheck command has no effect on XFS filesystems. The first time quota accounting is turned on (at mount time), XFS does an automatic quotacheck internally; afterwards, the quota system will always be completely consistent until quotas are manually turned off."
And the EXAMPLES section:
# mount -o uquota /dev/xvm/home /home # xfs_quota -x -c 'limit bsoft=500m bhard=550m tanya' /home # xfs_quota -x -c report /home
I already have a large amount of data in the mount. Do quotas get implemented on only empty filesystems and then one adds data?
HTH
Rafa
On 18 Jan 2011, at 02:16, "aurfalien@gmail.com" aurfalien@gmail.com wrote:
is any one aware quotas not working in 5,5? I'm using XFS as a file system.
They work just fine; first hit on Google, http://linux.die.net/man/8/xfs_quota
Ben
On Jan 18, 2011, at 12:21 AM, Benjamin Donnachie wrote:
On 18 Jan 2011, at 02:16, "aurfalien@gmail.com" aurfalien@gmail.com wrote:
is any one aware quotas not working in 5,5? I'm using XFS as a file system.
They work just fine; first hit on Google, http://linux.die.net/man/8/xfs_quota
That had some typos and the man locally was more accurate.
In the event that any one else wants to do this, some notes;
1 - xfs_quota -x /dev/sdc1 worked versus that actual named mount point of foo. 2 - quota warnings default to 7 days, running state when in xfs-quota mode tells you its default. I had to set it globally to 1 second instead of per user as it seems the per user warning time was ignored.
I also read this from SGIs XFS PractiCal Exercises which I found very helpful, especially regarding directory based quotas;
oss.sgi.com/projects/xfs/training/xfs_lab_05.pdf
And thanks to those who pointed out tXFS quota.
And by the way, on my 16x2TB disk, 32TB raw = 24TB usable Raid 6 + hot spare, it took ~20 hours to rebuild. There were some who expressed concern over such a large volume and rebuild times.
And also thanks for the Raid 6 suggestion.
- aurf
Le lun 17 jan 2011 18:15:34 CET, aurfalien@gmail.com a écrit:
Hi all,
is any one aware quotas not working in 5,5?
I'm using XFS as a file system.
My fstab has the appropriate usrquota,grpquota but when I try to run; quotacheck -cug /foo
I get;
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
Same thing here.
Try : $ repquota -sav