Changes

stoney backup: Server set-up

405 bytes added, 08:21, 28 August 2013
/* Project (Directory) Quotas */
=== Project (Directory) Quotas ===
==== Adding a Project (Directory) Quota ====
The XFS file system additionally allows you to set quotas on individual directory hierarchies in the file system that are known as managed trees. Each managed tree is uniquely identified by a project ID and an optional project name. We'll use the following values in the examples:
* project_ID: The uid of the online backup account (4000187).
xfs_quota -x -c 'project -s -p /var/backup/187/4000187 4000187' /var/backup
Check Set Quota (limit) on Project:
xfs_quota -x -c 'limit -p bhard=1048576k 4000187' /var/backup
Set LimitCheck your Quota (limit)
xfs_quota -x -c 'quota -p 4000187' /var/backup
</pre>
==== Modifying a Project (Directory) Quota ====To modify a project (directory) quota, you just set an new quota (limit) on the chosen project: xfs_quota -x -c 'limit -p bhard=1048576k 4000187' /var/backup Check your quota (limit) xfs_quota -x -c 'quota -p 4000187' /var/backup ==== Removing a Project (Directory) Quota ====Removing a quota for from a project:
xfs_quota -x -c 'limit -p bhard=0 4000187' /var/backup
SLB, editor, reviewer
3,407
edits