Creating a new logical volume
First look for physical volumes that have room for the new volume group:
# pvs PV VG Fmt Attr PSize PFree /dev/sda10 lvm2 a- 53.65g 53.65g /dev/sda5 vg01 lvm2 a- 200.00g 40.00g /dev/sda6 vg02 lvm2 a- 50.00g 21.00g /dev/sda7 sabayon lvm2 a- 50.00g 3.00g /dev/sda8 lvm2 a- 50.01g 50.01g /dev/sda9 lvm2 a- 50.01g 50.01g
Let's say we need a volume with at least 30GB to put Ubuntu on and decide to use /dev/sda10 for it. First we make the volume group:
vgcreate -v ubuntu /dev/sda10
Next we create the logical volume:
lvcreate -L 30G -n Ubuntu ubuntu
Now when you run the pvs and lvs commands you will see the new volume group and logical volume.