Quota.user mess - down server

tmellon

Well-Known Member
Aug 15, 2001
64
0
306
Sarasota, FL
I made a mistake and messed up my server (a first).

In hopes of trying to clear up my /var fill up problem, I searched on here, and did a:


cd /home
touch quota.user
touch aquota.user
quotacheck -magun

Everything rebooted fine...

But then a couple hours later, it was down.

I probably missed something after I did that...

/etc/fstab is:

/dev/hda5 / ext3 rw 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hdb1 /backup ext3 rw 0 0
/dev/hda1 /boot ext3 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/hda7 /home ext3 rw,usrquota 0 0
none /dev/shm tmpfs rw 0 0
/dev/hda3 /usr ext3 rw,usrquota 0 0
/dev/hda2 /var ext3 rw,usrquota 0 0
/tmp /var/tmp none rw,noexec,nosuid,bind 0 0

-----

Should I have removed quota from /var?

Is there way to not get quotas to process in /home (can't figure out how to unmount it).

Can someone help!

My server has been down 3 times in 24 hours (most of the day).

Thanks!
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
If you want to disable quotas, you can remove the usrquota from the disk/partition in fstab and reboot. You can only disable quotas on a running server when it's not in use, so a reboot is usually necessary unless you shutdown most of the running daemons, if you do that you should be able to use quotaoff.
 

tmellon

Well-Known Member
Aug 15, 2001
64
0
306
Sarasota, FL
I had a feeling that was what had to be done, but I wasn't sure.

Should that be it?

That's the only thing I did before I starting having server problems (apparently, it didn't like /home all that well).

Would that bring down the server?

Thanks (rebooting now - hopefully it will stay up).
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
You really ought not to have problems having quotas enabled on the /home partition. Indeed, you want them enabled if you want to apply quota limits on cPanel accounts. the proof ought really to be in the logs and/or on the console when the server crashes.