LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-02-2013, 12:00 PM   #1
karthik-naren
LQ Newbie
 
Registered: Jun 2013
Posts: 16

Rep: Reputation: 0
question about quotas


when do we use the following command while configuring
group quotas in rhel5


mount -o usrquota,,grpquota <mountpoint>
 
Old 07-02-2013, 12:58 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,836

Rep: Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360
You will want to enable those options in your /etc/fstab file on the drives you would like to enable quotas on.

Code:
/dev/sda1 /home ext4 defaults,usrquota,grpquota 1 1
 
1 members found this post helpful.
Old 07-02-2013, 01:06 PM   #3
karthik-naren
LQ Newbie
 
Registered: Jun 2013
Posts: 16

Original Poster
Rep: Reputation: 0
Got the answer. the actual command was the below one without editing /etc/fstab file

#mount -o remount,usrquota,grpquota <mountpoint>

Last edited by karthik-naren; 07-02-2013 at 01:15 PM.
 
Old 07-02-2013, 01:12 PM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,836

Rep: Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360
Using the mount command:

mount -o remount,usrquota,grpquota <mountpoint>

or if it is not mounted yet

mount -o usrquota,grpquota <mountpoint>
 
  


Reply


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
Quotas deeneyc09 Linux - Newbie 5 04-29-2011 07:07 PM
Question about Quotas. kschmitt Linux - Server 2 02-27-2010 04:56 PM
quotas shishirkotkar SUSE / openSUSE 1 01-31-2008 09:27 AM
Help with quotas 0p3r4 Linux - General 2 10-27-2005 04:35 PM
Quotas andy7t Linux - General 1 12-15-2004 04:14 PM


All times are GMT -5. The time now is 03:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration