Manually Configuring Quotas
Manual configuration of quotas involves changing entries in your system’s file system table, /etc/fstab
, to add the usrquota
mount option to the desired portion of your file system. As an example in a simple file system, you can enable quota management like this:
LABEL=/ / ext3 defaults,usrquota 1 1
You can also enable group-level quotas by using the grpquota
option. As the root operator, you must then create a file (using our example of creating user quotas) named quota.user
in the designated portion of the file system, like so:
matthew@seymour:~$ sudo touch /quota.user
You should then turn on the use of quotas using the ...
Get Ubuntu Unleashed 2014 Edition: Covering 13.10 and 14.04,Ninth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.