Skip to main content

Posts

Showing posts from October 21, 2017

Logical Volume Manager

LVM Commands ########### >> First we need to create Physical Volume. PV is chunks of 4MBs >> Then create Volume Group using this PV. >> THen create Logical Volume. Creating PV: [root@localhost ~]# pvcreate /dev/vdb5 /dev/vdc1 /dev/vdb6 /dev/vdc2   Physical volume "/dev/vdb5" successfully created.   Physical volume "/dev/vdc1" successfully created.   Physical volume "/dev/vdb6" successfully created.   Physical volume "/dev/vdc2" successfully created. pvdisplay   --- NEW Physical volume ---   PV Name               /dev/vdc1   VG Name                 PV Size               2.00 GiB   Allocatable           NO   PE Size               0     Total PE              0   Free PE               0   Allocated PE          0   PV UUID               gDI14y-m6Af-DAek-0xdv-bZEs-4wVd-GJcH68      "/dev/vdb5" is a new physical volume of "1.00 GiB"   --- NEW Physical volume ---   PV Name               /dev/vdb5   VG Name