After creating a new partition (/dev/hda5) with fdisk run the below commands:
# partprobe
# pvcreate /dev/hda5
# vgcreate vg0 /dev/hda5
# lvcreate -L 1G -n lv0 vg0
# mke2fs -j /dev/vg0/lv0
- sandip's blog
- Login or register to post comments
After creating a new partition (/dev/hda5) with fdisk run the below commands:
# partprobe
# pvcreate /dev/hda5
# vgcreate vg0 /dev/hda5
# lvcreate -L 1G -n lv0 vg0
# mke2fs -j /dev/vg0/lv0