System information

Important
While real-time blocks (rtbhard /rtbso ft) are described in man xfs_q uo ta as valid units
when setting quotas, the real-time sub-volume is not enabled in this release. As such, the
rtbhard and rtbso ft options are not applicable.
Setting Project Limits
Before configuring limits for project-controlled directories, add them first to /etc/pro jects. Project
names can be added to/etc/pro jecti d to map project IDs to project names. Once a project is
added to /etc/pro jects, initialize its project directory using the following command:
# xfs_q uo ta -c ' pro ject -s projectname'
Quotas for projects with initialized directories can then be configured, with:
# xfs_q uo ta -x -c ' l i mi t -p bso ft= 10 0 0 m bhard = 120 0 m projectname'
Generic quota configuration tools (q uo ta, repq uo ta, and ed q uo ta for example) may also be used
to manipulate XFS quotas. However, these tools cannot be used with XFS project quotas.
For more information about setting XFS quotas, refer to man xfs_q uo ta.
8.4. Increasing t he Size of an XFS File Syst em
An XFS file system may be grown while mounted using the xfs_g ro wfs command:
# xfs_g ro wfs /mount/point -D size
The -D size option grows the file system to the specified size (expressed in file system blocks).
Without the -D size option, xfs_g ro wfs will grow the file system to the maximum size supported
by the device.
Before growing an XFS file system with -D size, ensure that the underlying block device is of an
appropriate size to hold the file system later. Use the appropriate resizing methods for the affected
block device.
Note
While XFS file systems can be grown while mounted, their size cannot be reduced at all.
For more information about growing a file system, refer to man xfs_g ro wfs.
8.5. Repairing an XFS File Syst em
To repair an XFS file system, use xfs_repai r:
Set t in g Project Limit s
4 5