Compatible Support Forums: disk quotas

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

disk quotas

#1 User is offline   mjstone03 

  • newbie
  • Group: Members
  • Posts: 26
  • Joined: 06-October 04

Posted 15 November 2004 - 02:08 AM

I can't seem to get disk quotas running with Redhat9. Everytime I modify the fstab file the machine will say, during reboot, it's dropping to a shell, in which case I run init 5 and change the fstab file back to the way it was. I guess my question is, do disk quotas have to be enabled on a seperate partition? I have 3 partitions- /, boot, swap(dual booting w/win2kserv.). I'm trying to enable quotas for the users(ten users, 20 mb each) home folders in the /home directory. Any suggestions? I think I've tried every possible combination in that fstab file.
0

#2 User is offline   egorgry 

  • enthusiast
  • Group: Members
  • Posts: 315
  • Joined: 30-August 03

Posted 15 November 2004 - 02:36 AM

That's usually evidence of asyntax error in your fstab. can you post what the fstab looks like when it's bombing on you. I've never had disk quotas on /home when it's mounted on teh same part as / I always have /home in it on partition.
0

#3 User is offline   mjstone03 

  • newbie
  • Group: Members
  • Posts: 26
  • Joined: 06-October 04

Posted 15 November 2004 - 03:40 AM

okay, here's the fstab file:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

What I want to do is enable quotas for "/home" which is on the "/", on hda5. I've tried adding lines:

LABEL=/ /home ext3 defaults,usrquota,grpquota 1 1
then
LABEL=/home /home ext3 defaults,usrquota,grpquota 1 1
and finally
/dev/hda5 / ext3 defaults,usrquota,grpquota 1 1

the 3rd one didn't give me an error, but I still couldn't start quotas.

0

#4 User is offline   mjstone03 

  • newbie
  • Group: Members
  • Posts: 26
  • Joined: 06-October 04

Posted 15 November 2004 - 05:03 AM

it looks like it might be working. What I did was in the first line of the fstab file(LABEL=/.....) I added usrquota. Then I rebooted successfully and forced a quotacheck. This is the farthest I've gotten, and it's lookin good.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users