Este conteúdo não está disponível no idioma selecionado.
3.2. Growing a File System on a Logical Volume
To grow a file system on a logical volume, perform the following steps:
- Determine whether there is sufficient unallocated space in the existing volume group to extend the logical volume. If not, perform the following procedure:
- Create a new physical volume with the
pvcreate
command. - 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.
- Once the volume group is large enough to include the larger file system, extend the logical volume with the
lvresize
command. - 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