Disk Quota


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)





This page comes from
Kuwait Linux User Group
http://www.q8linux.net

The URL for this page is:
http://www.q8linux.net/modules.php?name=Content&pa=showpage&pid=6