Thursday, December 25, 2003

Enable Quota on Linux

In our OSCAR cluster I only activated userquota for /, that's probably the most straight-forward thing to do. Basically you just need to do:
  1. google://linux quota
  2. Append usrquota option to the /etc/fstab for /
  3. mount -o remount /
  4. quotacheck -acum /
  5. Add this file to /etc/cron.daily (remember to check the executable permission.):
    #!/bin/sh
    quotaoff -aug
    quotacheck -augm
    quotaon -aug
    
  6. Use edquota -e mjhsieh to edit the quota setting for account name mjhsieh

No comments: