LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Quotas : ext3 file system (https://www.linuxquestions.org/questions/linux-general-1/quotas-ext3-file-system-53519/)

tropical 04-05-2003 08:19 AM

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. :)

born4linux 04-05-2003 09:34 AM

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.

tropical 04-05-2003 08:52 PM

Thanks
 
I will try this.

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

can you clarify, please?


-Thanks, Robert.

born4linux 04-08-2003 02:36 AM

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'.

danimaldaisy 04-13-2003 03:29 PM

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?


All times are GMT -5. The time now is 12:21 AM.