Tags lvm2

Creating a logical volume

Architecture : Step 1: Creating physical volume Following disk will be used to create the logical volume /dev/sdb – 10GB /dev/sdc – 10GB /dev/sdd – 10GB /dev/sde – 10GB [root@server1 ~]# fdisk -l |grep “Disk /dev/” Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors Disk /dev/sdb: 10.7 GB, 10737418240 bytes, […]

Extending a logical volume

Logical volume can be extended on the fly without any downtime Step 1: List the logical volume and check the current size. Here i am going to extend the LV01 to 30G by adding 5Gb to the current size 25GB [root@server1 ~]# lvs LV VG Attr LSize Pool Origin Data% […]