LVM stands for Logical Volume Manager. One of the biggest advantage of lvm partitions is that we can extend file-system size using lvextend command.
I am taking the example of /home partition which is lvm based , currently /home is of 5GB , We will extend the size to 7GB , means we have to add 2GB space.
Umount /home partition using below command
[root@localhost ~]# umount /home/
#lvextend –L +2G /dev/mapper/VolGroup-LogVol101
Use e2fsck command to check the file system as shown below
Now Mount /home using mount command and check the space using df command
Note : lvextend uses free space of the volume group for extending the size.To check the free size of volume group use vgs or vgdisplay command.