Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't get quota to work...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
slartibartfasz
Veteran
Veteran


Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

PostPosted: Wed Feb 19, 2003 11:31 pm    Post subject: can't get quota to work... Reply with quote

i emerged quota 3.06-r1, edited fstab:

Code:
/dev/hda3               /               reiserfs notail,noatime,nodev,usrquota           0 0


created the aquota.user file on / with quotacheck -m /dev/hda3, the filesize is > 0

i edited the init-quota script (removed grpquotas) added it to runlevel default - following the gentoo security guide - quota should work on reboot... however i get the following error:

Code:
*checking quotas. This may take some time...
Cannot get exact used space...results might be innacurate.
quotacheck: cannot remount filesystem mounted on / read-only so counted values might not be right. please stop all programms writing to filesystem or use -m glag to force [ok]
*turning on quota...
quotaon: cannot find quota file on / [/dev/hda3] to turn quotas on/off [!!]


quota support is in the kernel ... i was not able to resolve this - do i need some kernel patch to use quota on reiserfs or is something else wrong - i'm stuck... :?
_________________
To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
Back to top
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Thu Feb 20, 2003 9:10 am    Post subject: Reply with quote

for reiserfs and quota you need some quite experimental patches for the kernel. look on reiserfs.org for some patches against 2.4.19. Best option would be to wait for reiser4 ...
Back to top
View user's profile Send private message
slartibartfasz
Veteran
Veteran


Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

PostPosted: Fri Feb 21, 2003 4:45 pm    Post subject: Reply with quote

k - thx - i guess i'll wait...
_________________
To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
Back to top
View user's profile Send private message
Dunarie
n00b
n00b


Joined: 13 Feb 2003
Posts: 4

PostPosted: Fri Feb 21, 2003 5:51 pm    Post subject: Reply with quote

Odd, I get the exact same error and I use the ext2 FS.
Back to top
View user's profile Send private message
slartibartfasz
Veteran
Veteran


Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

PostPosted: Fri Feb 21, 2003 10:42 pm    Post subject: Reply with quote

hmm - i also tried with my /boot partition meanwhile - its ext3 - nogo... seems to be more than a kernel issue...
_________________
To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
Back to top
View user's profile Send private message
Sasun
n00b
n00b


Joined: 07 May 2002
Posts: 15

PostPosted: Sun Feb 23, 2003 9:46 pm    Post subject: try to use older quota release Reply with quote

if you have /proc/fs/quota, use quota-3.03. If you cannot find
quota-3.03.ebuild make one by changing quota-3.06

if you have /proc/sys/fs/quota - use quota-3.06. If it doesnt work .... have you compiled quota support in your kernel?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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