LVM
Jump to navigation
Jump to search
Notes on LVM
- PV commands => working on physical disk
- VG commands => virtual groups
- LV commands => logical volumes
Test environment
DISK_DIR=/var/tmp/disks mkdir -p ${DISK_DIR} && for i in 1 2 3 4 5; do dd if=/dev/zero of=${DISK_DIR}/disk${i} bs=100M count=1 && losetup /dev/loop${i} ${DISK_DIR}/disk${i} && pvcreate /dev/loop${i} done