Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-04-2013, 05:48 AM   #1
LQ Newbie
Registered: Mar 2013
Location: WV
Distribution: Fedorra Goddard for now
Posts: 27

Rep: Reputation: Disabled
Unhappy 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

Last edited by TechJay; 03-04-2013 at 05:55 AM.
Old 03-04-2013, 06:00 AM   #2
Senior Member
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
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:
~$ quota -u <username>
Check this tutorial for more help.
1 members found this post helpful.
Old 03-04-2013, 07:03 AM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,357

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
That link is for Fedora Core 2, 3, or 4.
For Fedora 13, I'd go with Chap 7
1 members found this post helpful.
Old 03-04-2013, 08:56 AM   #4
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,688

Rep: Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259
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.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Quotas abhi7514 Linux - Newbie 1 10-21-2012 11:43 PM
disk quotas shahz Red Hat 4 10-28-2008 01:38 AM
Disk Quotas or What? dalponis Linux - Software 3 02-04-2006 07:53 AM
Managing Disk Usage With Quotas tommytomato Linux - Newbie 7 09-01-2004 03:40 AM
disk quotas skeletal29 Linux - General 1 10-13-2002 04:42 PM

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration