how do i enable quotas?
/home /var /tmp /usr
now i added quota to the system:
apt-get install quota
so i want to add user and group quota to each partition.
the only way i know of how to do this is to go into fstab and add usrquota and grpquota.
but i dont see any of the file systems mounted in fstab,
but i do see it included through proc
lpha3:~# cat /proc/partitions
major minor #blocks name
202 0 2048000 xvda
202 16 528384 xvdb
202 32 4100096 xvdc
202 48 1028096 xvdd
202 64 4100096 xvde
202 80 516096 xvdf
do i need to mount these? add them to fstab and restart?
any help would be greatly appreciated by me nOOb nOOdle!
5 Replies
> th only way i know of how to do this is to go into fstab and add usrquota and grpquota.
Yep, that's what you need to do.
Edit /etc/fstab and add an entry for each disk image.
e.g.
/dev/xvdb /home ext3 defaults 0 0
/dev/xvdc /var ext3 defaults 0 0
and so on.
Save /etc/fstab, run mount -a and afterwards check if all the disk images are mounted properly. (Just to make sure that you didn't make a stupid mistake.) You probably don't need to restart. Then you can go back to /etc/fstab and add usrquota and grpquota as needed.
see… i first tried it on one server and then when the dashboard said the restart was done i tried to log in and thought that the system got stuck because i saw a bunch of text like the system was loading up.
then i tried the same thing on another linode and got the same results.
then i posted this message.
then, (yes then again) i logged in to both server succesfully!
now i know what happened.
when i tried to log back in again it worked and i was seeing my os starting up.
even though the dashboard said all was done, all was not done.
since i added those entries i think the system took some 'extra' time to start up,
and ll i need to do was wait
and down the linux road we go
@anubix:
even though the dashboard said all was done, all was not done.
The dashboard only knows if your Linode is powered on or off, it doesn't know anything about the state of the OS. So when the dashboard says a boot job is complete, that's the same as the LED on the front of your computer coming on when you hit the power button.
–James
isn't tht strange?
so i gues it does not work after all
i didnt use the -a switch whwen i mounted, just added in fstab and restarded.