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
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.