Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfs quotas don't work...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
SeeksTheMoon
Apprentice
Apprentice


Joined: 24 Sep 2003
Posts: 163

PostPosted: Sun Dec 09, 2007 4:53 pm    Post subject: xfs quotas don't work... Reply with quote

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
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Dec 10, 2007 12:09 pm    Post subject: Reply with quote

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:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
SeeksTheMoon
Apprentice
Apprentice


Joined: 24 Sep 2003
Posts: 163

PostPosted: Mon Dec 10, 2007 4:36 pm    Post subject: Reply with quote

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... :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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