![]() ![]() In order to increase the size of a logical volume, the volume group that it is in must have free space available. This process is extremely easy to do with LVM as it can be done on the fly with no downtime needed, you can perform it on a mounted volume without interruption. LVM Resize – How to increase or expand the logical volume File System: A file system such as ext4 will be on the logical volume.Logical Volume (LV): This is sometimes referred to as the partition, it sits within a volume group and has a file system written to it.Volume Group (VG): This is made up of at least one or more physical volumes.Physical Volume (PV): This can be created on a whole physical disk (think /dev/sda) or a Linux partition.We currently have this logical volume mounted to /mnt.īefore working through the resizing process it’s important you first understand some basic concepts around physical volumes, volume groups, logical volumes, and the file system. In this example we will work through expanding logical volume /var/centos/var from 5GB to 10GB. Note: In this example we are working in CentOS 7, some commands may differ in different Linux distributions. See here if you’re instead trying to do the opposite and shrink an LVM volume. Here we show you how to expand an LVM volume or partition in Linux by first resizing logical volume followed by resizing the file system to take advantage of the additional space. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |