Takes a couple of moments and afterwards can verify with df -h that the partition is expanded. Resize2fs /dev/mapper/ubuntu-vg-ubuntu-lvĪfter the prep above, this step now works. The /dev/ part can seen in the fdisk output from step 1. Lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv This is the step which isn't mentioned in a lot of places its the intemediate step that allows the logical volume extension step work. See which partition is the current Ubuntu setup - should be obvious based on size (in my case was sda3) Setup: Hyper-V VHDX file as hard disk Ubuntu-18.04Įxpand the VDHX file via Hyper-V as mentioned in existing solutions and then inside the VM: Some further searching had similar-but-slightly-different steps and needing to merge a few different bits-and-pieces from other solutions on the web to make work.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |