Changes

stoney backup: Server set-up

216 bytes added, 08:33, 28 August 2013
/* User Quotas */
=== User Quotas ===
==== Adding a User Quota ====
Set a quota of 1 Gigabyte for the user 4000187 (the values are in kilobytes, so 1048576 kilobyte are 1024 megabytes which corresponds to 1 gigabyte):
xfs_quota -x -c 'limit bhard=1048576k 4000187' /var/backup
/dev/vdb1 512000 0 1048576 00 [--------] /var/backup
==== Modifiying a User Quota ====
To modify a users quota, you just set a new quota (limit):
xfs_quota -x -c 'limit bhard=1048576k 4000187' /var/backup
 
==== Removing a User Quota ====
Removing a quota for a user:
xfs_quota -x -c 'limit bhard=0 4000187' /var/backup
SLB, editor, reviewer
3,388
edits