1. create LVM partition:
change partition type from LINUX to LVM
2. initialization LVM partition:
check commands:
pvdisplay
3. create LVM group:
check commands:
vgdisplay
4. create logical volumes which is attached to group:
check commands:
lvdisplay
5. format volumes:
EXTEND
change size volume:
change size partition:
REDUCE
change size partition:
change size volume:
install lvm on ubuntu:
use ubuntu live:
* format LVM partition using fdisk without /boot
* install lvm2
* create pvs,vgs,lvs
use ubuntu install:
* before partition install lvm2
* activate previous lvm partitions using: vgchange -a y
* install system on previous partitions
after restart, system crashed because default ubuntu do not install lvm
use ubuntu live:
* install lvm2
* activate lvm partitions: vgchange -a y
* mount /dev/vg_system/lv_root /mnt/dupa
* mount /sda4/boot /mnt/dupa/boot
* mount –bind /dev/ /mnt/dupa/dev
* chroot /mnt/dupa
* mount -t sysfs sysfs /sys
* mount -t proc proc /proc
* install lvm2 in chroot