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 07-02-2013, 11:00 AM   #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, 11:58 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
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, 12: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 12:15 PM.
 
Old 07-02-2013, 12:12 PM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Using the mount command:

mount -o remount,usrquota,grpquota <mountpoint>

or if it is not mounted yet

mount -o usrquota,grpquota <mountpoint>
 
  


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

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

All times are GMT -5. The time now is 03:33 AM.

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