LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Managing disk quotas (https://www.linuxquestions.org/questions/linux-newbie-8/managing-disk-quotas-4175452625/)

TechJay 03-04-2013 05:48 AM

Managing disk quotas
 
Hello all, im new to linux and am trying to manage disk quotas for several users and groups.

question 1.
can i set a default quota so that all users and groups added in the /home partition inherit this quota.. ex all users added must have a hard limit of 100mb

question 2.
to set quotas for the /home partition, do i just edit the etc/fstab file > vim /etc/fstab then ext4 defaults,quota ...

not sure how to set these but im trying lol
thanks for the help!

fedora 13 goddard

shivaa 03-04-2013 06:00 AM

You can use quotactl command to set user, group or disk quotas. See manual here.

In order to display disk usage and limits for a user, try quota cmd:
Code:

~$ quota -u <username>
Check this tutorial for more help.

chrism01 03-04-2013 07:03 AM

That link is for Fedora Core 2, 3, or 4.
For Fedora 13, I'd go with Chap 7 http://www.linuxtopia.org/online_boo...ion/index.html

jpollard 03-04-2013 08:56 AM

And note, some filesystems do not support quotas (tmpfs in particular).

Recent Fedora releases (any that use /run or /tmp mounted using the tmpfs filesystem) are subject to a DOS attack.


All times are GMT -5. The time now is 04:59 AM.