LVM

From wiki.techunit.org
Jump to: navigation, search
  • Identify partition
fdisk -l
  • Modify filsystem ID with fdisk (LVM = 8e)
  • Install and create LVM partition (here on vda6)
aptitude install lvm2 -y
pvcreate /dev/vda6
vgcreate vg_data /dev/vda6
lvcreate -n lv_shared -l 100%FREE vg_data # Take all available space

Elliot
techUnit's cofounder