Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 08-07-2006, 11:21 PM   #1
LQ Newbie
Registered: Apr 2005
Location: India
Posts: 1

Rep: Reputation: 0
Setting disk quota in LINUX

Hello Friends,

I have a doubt related to Setting Disk Quota in Linux. I could not understand the inital step of configuring /etc/fstab file. By default /home is the home directory. What device file name should i give in the fstab file for the /home directory. What i should type at the place of ? that i have entered below.

? /home default user,group 1,1.

I tried with LABEL=/home /home default user,group 1,1. But system showed error that label could not find and hence could not mount /home. Could you help me please.

Thanking you,

Sudhir Rao
Old 08-08-2006, 01:52 AM   #2
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
You only need to put /home in your /etc/fstab if you need to mount it. This means that the contents of /home are on a different disk than the contents of your /. If they're on the same disk, then there's no need to mount them.

Maybe you need a separately mounted /home in order to use quotas. But haven't used those myself, so I can't help you with that.
Old 08-08-2006, 03:14 AM   #3
Registered: Feb 2006
Distribution: Redhat 9
Posts: 38

Rep: Reputation: 15
your /home is the directory in which your partition is mounted . it could be anything like /dev/sdax where x could be any number. now in /etc/fstab write
/dev/sdax /home defaults,usrquota 0 0

now mount -av then set the quota by the command like quotacheck -mcvu /home
quotaon /home
setquoua -u x x x x /home username

pls try these and see if it helps


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
Setting disk quota ray5_83 Linux - General 1 08-09-2004 04:57 AM
disk over quota blacbastard Linux - General 1 11-20-2003 10:44 AM
disk over quota blacbastard Solaris / OpenSolaris 1 11-19-2003 09:26 AM
Disk Quota argh2005 Red Hat 3 09-01-2003 04:15 AM
disk quota iquadri1 Linux - Networking 1 09-29-2001 01:58 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:06 PM.

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