LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-05-2003, 08:19 AM   #1
tropical
LQ Newbie
 
Registered: Feb 2003
Posts: 9

Rep: Reputation: 0
Talking Quotas : ext3 file system


Does anyone know how to impose quotas on an ext3 file system?

I've looked on the internet and posted elsewhere, but I still don't see anything.

Any help would be greatly appreciated.
 
Old 04-05-2003, 09:34 AM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
for /home:

(do this in single user mode)

as root, edit /etc/fstab:

LABEL=/home /home ext3 defaults,usrquota 1 2

save the file and then:

mount /home -o remount,rw

to create the quota files:

quotacheck -uv /home


then do a:

quotaon /home

to edit the quotas for a user:

edquota -u username

for details:

man quotacheck
man quotaon
man edquota

hth.
 
Old 04-05-2003, 08:52 PM   #3
tropical
LQ Newbie
 
Registered: Feb 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks

I will try this.

I don't know what single user mode is...

can you clarify, please?


-Thanks, Robert.
 
Old 04-08-2003, 02:36 AM   #4
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
in RH systems, it is the runlevel where only one user can login to the system - locally. u don't have any network conxn running, u can unmount your system mount points, u can run maintenance routines (ie. e2fsck or parted).

it accessible via 'telinit 1' or 'init 1'.
 
Old 04-13-2003, 03:29 PM   #5
danimaldaisy
Member
 
Registered: Dec 2002
Distribution: redhat 7.3 now upgraded to 8.0
Posts: 53

Rep: Reputation: 15
ive just done as posted above and when I reboot i get errors for fstab and it wan'ts me to reboot or correct it. did i miss something?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changing file system to ext3 mohtasham1983 Linux - Newbie 8 06-28-2005 03:39 PM
How to freeze ext3 file system A-Liang Programming 8 09-23-2004 12:27 AM
How to ext3 file system A-Liang Programming 2 09-13-2004 10:14 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 07:45 AM
ext3 quotas tropical Linux - Software 0 04-03-2003 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:12 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