For creating a VG we need free PVs, i am going to use the PVs created from my previous post,
Below are the PVs going to be used for the new VG, make a note of the attributes on the below output,
1. Command to create VG with above PVs /dev/sdc1 and /dev/sdc2,
vgcreate
Example: vgcreate newVG /dev/sdc1
Here i want 2 devices to be added to the VG,
vgcreate newVG /dev/sdc1 /dev/sdc2
2. Verify the created VG,
with pvs and pvdisplay command,
with vgs and vgdisplay,
0 comments:
Post a Comment