Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-24-2010, 05:27 PM   #1
LQ Newbie
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Question Preparing system to install qouta

Dear forum visitor,

I wanted to configure my server for users that can have access to php/mysql database but with the limited harddrive space i have
i cant do unlimited space per user.

So i decided to install qouta,
i got this guide from :

But in this guide that tells me to configure my system partitions to use qouta its says i should edit fstabs.

Originally Posted by Tutorial
Quota support is enabled as the filesystems are mounted, and so it must be specified in the options section of your /etc/fstab file.

Specifying the quota options is as simple as adding usrquota for per-user quota, or grpquota for per-group quotes in the options column.

For example this first entry without quotas:

/dev/hda1 /home ext2 defaults 1 1

Would become the following with per-user quotas enabled:

/dev/hda1 /home ext2 defaults,usrquota 1 1

Once this has been added you can remount the partition by rebooting, and install the software. This will setup the partitions to be mounted with quota support enabled, however you haven't enabled them for the running system.
My current fstab:

# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda2       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda1       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
Now my problem is i dont have a unique partition for the /home/ directories of the users.

As far as my knowledge goes my /home/ directory entry is located on /dev/hda2/ where the / parition is mounted.

Now this is my questions to you:

1. What do i put in my fstab. Do i edit it use quota on /dev/hda2 (Where my root partaition is mounted). ?

2. How do i get to know on what partition (/dev//dev/hda2?, /dev/hda2?.) my home directories of the users are?

3. Do you guys know a better guide then the one i am using?

4. Can i reload fstab without having to reboot my machine? (I like keeping my uptime as high as possible )

5. Do i need to know any more stuff that u guys can give me involving risks of badly configuration or handling this matter?

Im looking forward to ure replys.
May The Source Be With You, Terion23

Last edited by Terion23; 03-24-2010 at 05:38 PM.
Old 03-24-2010, 08:35 PM   #2
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
df -k /home will tell you which disk it's on.
Use the how-to to put the usrquota on the correct line in fstab.
You can run mount -o remount / to remount the drive without rebooting (assuming home is on /)

There is lots more to know, but where to start ?
man mount


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
Trouble preparing HD for slackware 11 install HELP! Lypur Linux - Newbie 114 03-09-2007 04:18 PM
Preparing for Install eggoz Linux - Software 3 09-06-2004 05:48 PM
Preparing a system to dual boot Slackware 9.1 and Windows 98 keldivac Linux - Newbie 1 04-14-2004 07:27 PM
Preparing foir the Slackware 9.1 Install AceTech747 Slackware 12 01-30-2004 09:07 PM
Preparing for Linux install dbr1066 Linux - Newbie 7 12-18-2002 04:03 PM > Forums > Linux Forums > Linux - Software

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