Expanding and shrinking volumes are common volume operations on most systems. For example, it might be necessary to shrink a particular volume to create free space for another volume to expand into or to create a new volume.
EVMS simplifies the process for expanding and shrinking volumes, and protects the integrity of your data, by coordinating expand and shrink operations with the volume's file system. For example, when shrinking a volume, EVMS first shrinks the underlying file system appropriately to protect the data. When expanding a volume, EVMS expands the file system automatically when new space becomes available.
Not all file system interface modules (FSIM) types supported by EVMS allow shrink and expand operations, and some only perform the operations when the file system is mounted ("online"). The following table details the shrink and expand options available for each type of FSIM.
Table 17-1. FSIM support for expand and shrink operations
|ReiserFS||Offline only||Offline and online|
|ext2/3||Offline only||Offline only|
|SWAPFS||Offline only||Offline only|
You can perform all of the supported shrink and expand operations with each of the EVMS user interfaces.