| Linode Forum https://forum.linode.com/ |
|
| how do i enable quotas? https://forum.linode.com/viewtopic.php?f=19&t=3435 |
Page 1 of 1 |
| Author: | anubix [ Sun Aug 10, 2008 5:35 pm ] |
| Post subject: | how do i enable quotas? |
So i installed debian 4.0 image with multiple partitions for: /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! |
|
| Author: | hybinet [ Sun Aug 10, 2008 7:02 pm ] |
| Post subject: | |
Quote: 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. |
|
| Author: | anubix [ Sun Aug 10, 2008 8:45 pm ] |
| Post subject: | cool thanks! |
Thanks a bunch. 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 |
|
| Author: | irgeek [ Sun Aug 10, 2008 9:40 pm ] |
| Post subject: | Re: cool thanks! |
anubix wrote: 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 |
|
| Author: | anubix [ Sun Aug 10, 2008 11:25 pm ] |
| Post subject: | not totally fixed yet |
all the new mounted file systems have no data in them, 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. |
|
| Author: | anubix [ Mon Aug 11, 2008 9:18 am ] |
| Post subject: | issue solved |
i opened another forum topic on finding the correct procedure to mount seperate drives on a linode without loosing data, you can see it here.. http://www.linode.com/forums/viewtopic.php?p=16052#16052 |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|