LVM: Linux partition artition size increasing using lvextend.

LVM: Linux partition artition size increasing using lvextend. post thumbnail image

LVM: Logical Volume Group, It helps to extend the existing filesystem. To extend the filesystem, free space should available in the Volume group. If free space is not available then you need to add 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

Here we want to extend ‘u01-u02’ 40G to 49G with using ‘u01’ VG

Step:2 check VG space available or not

VG ‘u01’ available <11G, we have enough space to extend LV

Step:3 Now run lvextend command to extend ‘u01-u02’ partion

Step:4 check ‘u01-u02’ extended successfully to 49G.

Important Note:

xfs is RHEL 7.x default file system. We can extend xfs file system but can not reduce.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Linux Interview Questions.Linux Interview Questions.

It is not that easy to predict interview questions. Because it all depends on the company’s requirement and also on the panel’s expertise levels. But there are some common questions that most of the time interviewers ask to know your knowledge on Linux Administration. Here I am sharing some top