Quota: Difference between revisions
Jump to navigation
Jump to search
Created page with '{{lowercase title}} == Set up == As root: <pre> apt-get install quota quotatool </pre> update /etc/fstab: <pre> /dev/sdb1 /home ext4 usrquota,usrjquota=quota.user,jqfmt=vfsv0 …' |
No edit summary |
||
Line 1: | Line 1: | ||
{{lowercase title}} | {{lowercase title}} | ||
== Set up == | == Set up == | ||
As root: | As root: | ||
Line 13: | Line 11: | ||
</pre> | </pre> | ||
Then run these commands: | |||
<pre> | <pre> | ||
touch /home/quota.user | touch /home/quota.user | ||
Line 20: | Line 19: | ||
quotaon -avu | quotaon -avu | ||
</pre> | </pre> | ||
== Manage == | == Manage == | ||
To see usage and quotas for all users: | |||
<pre> | |||
repquota -a | |||
</pre> | |||
Revision as of 23:21, 7 April 2011
Set up
As root:
apt-get install quota quotatool
update /etc/fstab:
/dev/sdb1 /home ext4 usrquota,usrjquota=quota.user,jqfmt=vfsv0 0 0
Then run these commands:
touch /home/quota.user chmod 600 /home/quota.user mount -o remount /home quotacheck -avum quotaon -avu
Manage
To see usage and quotas for all users:
repquota -a
References
http://www.ubuntugeek.com/how-to-setup-disk-quotas-in-ubuntu.html
notes on journaled quotas: http://ubuntuforums.org/showthread.php?t=1014051&page=2