0

How to create LVM for two Disks

I need to create LVM with two disks. One is 5 GB and the other one is 6 GB. How to create LVM for these two disks...??

john
asked Feb 14, 2017
1 Answer
1

Run the below commands to create LVM for 2 disks:

pvcreate /dev/sda1 /dev/sda2
vgcreate [Vol-name] /dev/sda1 /dev/sda2
lvcreate [Vol-name] -L +11G -n [Lv-name]

Here, [Vol-name] means the Volume group name and [Lv-name] refers to the logical volume name. -n is for specifying the name and -L is for total amount of LVM to be occupied.

View More
jagannatharumugam
answered Feb 16, 2017
Your Answer
||||
 
100:0