LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-04-2013, 05:48 AM   #1
TechJay
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
shivaa
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:
Code:
~$ quota -u <username>
Check this tutorial for more help.
 
1 members found this post helpful.
Old 03-04-2013, 07:03 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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
 
1 members found this post helpful.
Old 03-04-2013, 08:56 AM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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.
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 PM.

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