FreeKB - 0 Create an LVM volume group
Create an LVM volume group

The vgcreate command can be used to create an LVM volume group. In this example, physical volumes /dev/sdb1 and /dev/sdc1 are added to a volume group named myVG. This assumes that both /dev/sdb1 and /dev/sdc1 have been set up as LVM physical volumes.

~]# vgcreate myVG /dev/sdb1 /dev/sdc1


The vgdisplay command can be used to verify the LVM volume group was created.

~]# vgdisplay
---Volume group---
VG Name         myVG
. . .


Next, create a logical volume.

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter e68f2 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |