# XFS file system interface module

The XFS FSIM lets EVMS users create and manage XFS file systems from within the EVMS interfaces. In order to use the XFS FSIM, version 2.0.0 or later of the XFS utilities must be installed on your system. The latest version of XFS can be found at http://oss.sgi.com/projects/xfs/.

## Creating XFS file systems

XFS file systems can be created with `mkfs` on any EVMS or compatibility volume that does not already have a file system. The following options are available for creating XFS file systems:

vollabel

  Specify a volume label for the file system. The default is none.

journalvol

  Specify the volume to use for an external journal. The default is none.

logsize

  Specify the inline log size (in MB). This option is only available if the journalvol option is not set. The default is 4 MB; the allowed range is 2 to 256 MB.

## Checking XFS file systems

The following options are available for checking XFS file systems with `fsck`:

readonly

  Check the file system is in read-only mode. Report but do not fix errors. The default is false.

verbose

  Display details and debugging information during the check. The default is false.

## Removing XFS file systems

An XFS file system can be removed from its volume if the file system is unmounted. This operation involves erasing the superblock from the volume so the file system will not be recognized in the future. There are no options available for removing file systems.

## Expanding XFS file systems

An XFS file system is automatically expanded when its volume is expanded. However, XFS only allows the volume to be expanded if it is mounted, because XFS performs all of its expansions online.

## Shrinking XFS file systems

At this time, XFS does not support shrinking its file systems. Hence, volumes with XFS file systems cannot be shrunk.