Adding more space to virtual machine by adding new disk and expanding using LVM
Daily task, which comes as daily routing, to extend the disk space:
Switch off the machine
Open VM properties in Oracle VirtualBox Manager, Storage,
Name the disk accordingly to be consistent with other drives. Ensure that disk is saved nearby the VM itself. In my case, I am extending root partition for 50 GB.
After new disk is created, choose it double-clicking it.
Should end by seeing new disk in the virtual machine properties under 'Storage' list, attached to proper controller, 'SATA' - in my case.
Confirm with [OK]
Power on the machine
List disks with. New disk should be visible.
lsblk
Follow LVM Disk Extension guide to finalize extension.
No Comments