---
# System prepended metadata

title: Extend vm ova disk size

---

# Extend vm ova disk size
1. Power off
2. Increse disk size (VitualBox GUI)
3. Start vm
4. Modify volumn settings

```bash
cfdisk
lsblk

pvdisplay
vgdisplay
lvdisplay

pvresize /dev/sda3
lvm lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
resize2fs -p /dev/mapper/ubuntu--vg-ubuntu--lv
```
