Expanding Linux VM root partition with LVM
The purpose of this article is to expand the root partition on a Linux system with LVM.
RedHat, Centos using LVM ( Logical Volume Manager)
- Create checkpoint of VM
- Open failover cluster console, select the VM, go to settings and select the HDD. Then click on edit and add the extra space trough the wizard.
- Login to the VM and reread the SCSI channels with the following command:
echo "- - -" > /sys/class/scsi_host/host0/scan
- fdisk /dev/sda
- Confirm space is extended
- Remove checkpoint within 48 hours