# Ext-2/3 file system interface module

The Ext-2/3 FSIM lets EVMS users create and manage Ext2 and Ext3 file systems from within the EVMS interfaces. In order to use the Ext-2/3 FSIM, the e2fsprogs package must be installed on your system. The e2fsprogs package can be found at http://e2fsprogs.sourceforge.net/.

## Creating Ext-2/3 file systems

Ext-2/3 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 Ext-2/3 file systems:

badblocks

  Perform a read-only check for bad blocks on the volume before creating the file system. The default is false.

badblocks_rw

  Perform a read/write check for bad blocks on the volume before creating the file system. The default is false.

vollabel

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

journal

  Create a journal for use with the Ext2 file system. The default is true.

## Checking Ext-2/3 file systems

The following options are available for checking Ext-2/3 file systems with `fsck`:

force

  Force a complete file system check, even if the file system is already marked clean. The default is false.

readonly

  Check the file system is in read-only mode. Report but do not fix errors. If the file system is mounted, this option is automatically selected. The default is false.

badblocks

  Check for bad blocks on the volume and mark them as busy. The default is false.

badblocks_rw

  Perform a read-write check for bad blocks on the volume and mark them as busy. The default is false.

## Removing Ext-2/3 file systems

An Ext-2/3 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 and shrinking Ext-2/3 file systems

An Ext-2/3 file system is automatically expanded or shrunk when its volume is expanded or shrunk. However, Ext-2/3 only allows these operations if the volume is unmounted, because online expansion and shrinkage is not yet supported.