Java 2 Ada

LLVM Commands

Version 3 by Stephane Carrez

Extend VM partition (/home)

1. Grow the LLVM partition:

 sudo lvextend -L +20G /dev/vg01/jenkins

2. Poweroff the VM and start the VM (a reboot will not work)

3. Login as root

4. Unmount /home

5. Run fdisk, delete the partition and re-create it with the same start location

6. Write and don't erase the EXT4 signature

7. Reboot so that the fdisk partition is taken into account

8. Resize the filesystem

 unmount /home
 e2fsck -f /dev/vda2
 resize2fs /dev/vda2