Sysadmin-quotas: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Steps for setting up and managing disk quotas: = activate = * change "quota" option in /etc/fstab to "usrquota,grpquota" * remount "mount -o remount /srv/home" * chcon -v -u...") |
No edit summary |
||
Line 17: | Line 17: | ||
[[Category:Sysadmin]] | [[Category:Sysadmin]] | ||
quota -u 42042 | |||
setquota 524288000 536870912 0 0 -u 42042 /srv/home |
Latest revision as of 15:06, 12 May 2014
Steps for setting up and managing disk quotas:
activate
- change "quota" option in /etc/fstab to "usrquota,grpquota"
- remount "mount -o remount /srv/home"
- chcon -v -u system_u -t home_root_t /srv/home
- quotaon -uv /srv/home (edited)
verify on
- quotaon -p -a
edit
- /usr/sbin/edquota -u <USERNAME>
examples
- /srv/home/create.csh
quota -u 42042 setquota 524288000 536870912 0 0 -u 42042 /srv/home