Skip to main content

LVM2

Create/add physical disk to LVM
pvcreate /dev/sdb
Create volume group
vgcreate vg00 /dev/sdb1 /dev/sdc1
Create volume
# create by given size in GB
lvcreate -n data -L1G vg00
# create by given size of vg in %
lvcreate -n data -l100%VG vg00
Angabe in Prozent des freien Speichers in der VG:
# create by given free size of vg in %
lvcreate -n data -l100%FREE vg00