Menu Close
Settings Close

Language and Page Formatting Options

Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

3.2. Growing a File System on a Logical Volume

To grow a file system on a logical volume, perform the following steps:
  1. Determine whether there is sufficient unallocated space in the existing volume group to extend the logical volume. If not, perform the following procedure:
    1. Create a new physical volume with the pvcreate command.
    2. Use the vgextend command to extend the volume group that contains the logical volume with the file system you are growing to include the new physical volume.
  2. Once the volume group is large enough to include the larger file system, extend the logical volume with the lvresize command.
  3. Resize the file system on the logical volume.
Note that you can use the -r option of the lvresize command to extend the logical volume and resize the underlying file system with a single command