LVM: Logical Volume Group, It helps to extend the existing filesystem. To extend the filesystem, free space should be available in the Volume group. If free space is not available then you need to add a new PV(physical volume) and then create a new Volume Group (VG).
Now let’s see how to extend using ‘lvextend’
Step:1 Type ‘lsblk’ to list the file system
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-12.45.52-1024x276.png)
Here we want to extend ‘u01-u02’ 40G to 49G by using ‘u01’ VG
Step:2 check whether VG space is available or not
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-12.46.29-1024x77.png)
VG ‘u01’ available <11G, we have enough space to extend LV
Step:3 Now run lvextend command to extend ‘u01-u02’ partition
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-12.46.59-1024x148.png)
Step:4 check ‘u01-u02’ extended successfully to 49G.
![](https://www.tecoide.com/wp-content/uploads/2023/11/Screenshot-2023-11-29-at-12.47.21-1024x396.png)
NOTE: xfs is RHEL 7.x default file system. We can extend xfs file system but can not reduce it.