Kuwait Linux User Group

Welcome to the Kuwait Linux User Group, thats dedicated to talk about Linux, BSD, and the use of open source
specially for Kuwait community & others as well -- beside encouraging them to use it.
Follow Us:

August 25, 2004 11:59 AM EDT

Disk Quota

Author: . 4388 Reads
  Print this page   Export to PDF format   Mail to a friend


Disk Quota

  1. grep QUOTA /boot/config-2.4.21-4.EL                                (to check)

  2. rpm -q quota

  3. vi /etc/fstab

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

  4. mount -o remount /home

  5. quotacheck -avmug                                                                (to keep this information up2date )

  6. quotacheck -cvmug /home                                                      (to create aquota.user + aquota.group)

  7. To set limits:

    • edquota -u nancy                                                         (For user)

    • edquota -up nancy michael randy donna                       (To copy the same)

    • edquota -g group_name                                               (for Group)

  8. edquota -t                                                                             (Grace Period)

  9. quotacheck -avug                                                                  (cron command)

    • 0 4 * * 6 /sbin/quotacheck -avug

    • ( 4:00 A.M. every Saturday )

  10. Reporting:

    • repquota -u /home                                                       (reporting)

    • quota hassah                                                               (reporting for user)



Copyright © by Kuwait Linux User Group
All rights reserved.


Category: howto
Tags: None
Bookmark: Share/Save/Bookmark

[ Go Back ]
Content ©

Survey

What's your Favorite Mail Server(smtp)?

Sendmail
Qmail
Postfix
Exchange
Lotus Notes



Results
Polls

Votes: 102
Comments: 63