Managing Disk Usage With Quotas
Hi all i have a question
I take it that usrquota means usernamequota as in jackquota Is that correct. TT |
no, usrquota is usrquota
you can only specify userquota on per partition basis |
I'm following this page here
http://www.siliconvalleyccie.com/linux-adv/quota.htm I'm using putty from XP to my linux box to make all the changes when i used init 1 as in Quote:
Is this normal because i freak out a bit, thought i killed the pc for the 100 th time TT |
I have another question
I take it you have to be in ( init 1 ) mode to Remount The Filesystem ( mount -o remount /home ) after editing the /etc/fstab File I have added the line to the fstab file ( LABEL=/home /home ext3 defaults,usrquota 1 2 ) My error mount -o remount /home [mntent]: warning: no final newline at the end of /etc/fstab mount: no such partition found I'm trying to get to work with this, so user has a disk quoter of 50meg http://www.linuxquestions.org/questi...09#post1147309 If i do what is says that will add in 5meg to any user thats in the home will this add a limit to the folder as well called sbs under /var/www/sites/sbs because i created a link for that user to that folder, which is showing his test site. ( http://user.mydomain.com/ ) his home is /home/user and his site sits at /var/www/sites/sbs whcih he has access to write to sbs. TT |
can some one tell me whats going on please
I'm in init 1 mode i edited the file fstab then i type in mount -o remount /home and i get the follow error mount: no such partition found anyway i did touch /home/aquota.user and chmod 600 /home/aquota.user then i run quotacheck -vagum and i get the following error can't find filesystem to check or filesystem not mounted with quota. can any one help me out please. TT |
OK -- you asked a bunch of questions. Firstly, yes it's normal that you got kicked off when you went to runlevel 1 (which is what init 1 does). Riunlevel 1 is a very minimal setup with no networking support, so obviously your SSH connection is going to die when you go to it. As for your problem:
(a) check that there's a blank line at the end of /etc/fstab (this should fix the "no newline" error). (b) /home may not even be mounted in single user mode (runlevel 1) -- type df to see what's mounted. In general, once you've made your changes in runlevel 1, you may as well reboot the machine to get it back up to a higher runlevel (or just type 'init 3' to go to runlevel 3). You can finish up setting quotas there. There's another nice document on quota setup at www.tldp.org . Good luck! |
Thanks
I went to reboot the system, and now i cant get back in, its asking me to repair the filesystem error is on boot as well *** An error occurred during the file system check ***Droping you to a shell; the system will reboot ***when you leave the shell Give root password for maintenance ( or type Control -D to Continue ): (Repair filesystem 1 # ) I have never seen this before, and i have no clue on what to do, and i dont realy want to reboot the whole thing again. can any one explain how to fix. TT |
well what a day, i lost the lot.
TT |
All times are GMT -5. The time now is 04:38 PM. |