Linux / UNIX Tech Support Forum
This is a discussion on Configuring disk quotas on Fedora Linux within the Linux software forums, part of the Linux Getting Started category; How do I configure disk quotas on Fedora Linux? Do I need to patch a kernel (as suggested by some ...
|
|||||||
| Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links | ||
|
|
|
||||
|
Assuming that /home is created and mounted on separate partition such as /dev/sda2
First edit your /etc/fstab file and enable disk quota Code:
vi /etc/fstab Code:
LABEL=/home /home ext3 defaults,usrquota 1 2 Code:
mount -o remount /home Now create /home/aquota.user file and set permission Code:
> /home/aquota.user chmod 600 /home/aquota.user Code:
quotacheck -vagum Code:
edquota -u vivek Disk quotas for user vivek (uid 1001): Code:
Filesystem blocks soft hard inodes soft hard /dev/hdb1 24 50000 51000 3513 0 0 1000 = 1 MB so 50MB = 51000 (it is 1024 actually) Save and close the file. Now user vivek cannot exceed his disk quota.
__________________
Vivek Gite Linux Evangelist |
|
||||
|
nixcraft. Excellent job
On a related note you can use 3rd party tool such as webmin web-based administration toolkit for the same. http://www.webmin.com/
__________________
Rocky Jr. What's wrong? I hope I am not making you uncomfortable... Never send a boy to do a mans job. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| configuring DNS on Solaris 10 | pappu08 | Solaris/OpenSolaris | 2 | 07-04-2009 04:39 AM |
| Error while configuring Yum | linux_sym | Getting started tutorials | 3 | 03-07-2008 11:44 AM |
| Tutorial: Setting up MySQL quotas for users (MyISAM) | Nilesh | Databases servers | 0 | 26-01-2008 10:01 PM |
| Linux check disk error | raj | Linux hardware | 3 | 07-12-2007 10:00 AM |
| Ubuntu Linux: How do I setup print quotas? | cityblogger | Linux software | 1 | 06-07-2006 05:11 PM |