View previous topic :: View next topic |
Author |
Message |
SeeksTheMoon Apprentice
Joined: 24 Sep 2003 Posts: 163
|
Posted: Sun Dec 09, 2007 4:53 pm Post subject: xfs quotas don't work... |
|
|
I had a /home partition for my 240 users running with reiserfs and diskquotas and moved to a bigger xfs partition with quota support (2.6.23 hardened).
First thing was: the old quotasystem didn't work with the new partition. I found some documentation that said, I have to disable all the old quota stuff because xfs has it's own quotasystem (which is odd because official SGI docs tell me, that xfs works fine with the default linux quota programs).
So I disabled the old quotas and now I'm trying to get my groupquotas to work, but this doesn't work and I don't know why. This is how I do it:
~ # xfs_quota -x -c 'limit -g bsoft=1000m bhard=1g users' /home
xfs_quota: cannot set limits: no such process
(process? who? what? donno...)
this is my fstab entry for /home:
/dev/md5 /home xfs defaults,auto,grpquota,nosuid,nodev 0 0
~# xfs_quota -x -c 'print'
Filesystem Pathname
/home /dev/md5 (uquota) <- this is strange but I cannot change that to gquota, even with mount -o remount /home
~ # mount | grep home
/dev/md/5 on /home type xfs (rw,nosuid,nodev,grpquota) <- so why does xfs_quota say uquota??
What can I do? |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Mon Dec 10, 2007 12:09 pm Post subject: |
|
|
CONFIG_XFS_QUOTA and CONFIG_QFMT_V2 are set to y in kernel? _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
SeeksTheMoon Apprentice
Joined: 24 Sep 2003 Posts: 163
|
Posted: Mon Dec 10, 2007 4:36 pm Post subject: |
|
|
yes, both. And a reboot solved my problem. Very strange, this should not be necessary.
Edit:
And now I know why: because I exported the homedir with NFS. I had to stop NFS first and then remount works... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|