Hey everyone, I’m currently using proxmox to virtualize my OPNsense and another VM. Today when I went to create a third VM, everything crashed with I/O errors, and I realized my local-lvm was out of space. This was odd to me since I have a 1TB drive and only have two small VMs.
To my surprise, proxmox is only using 100GB of my disk. Can someone please guide me on how I can fix this without having to reinstall proxmox? I would prefer to have my OPNsense VM running while I fix this. Here are some diagnostics to help. Thanks
I can’t give you specifics but generally what is likely necessary:
- Backup anything important. You will be doing things that risk loosing data.
- Make a bootable USB with a live Linux.
- Look up instructions on resizing partitions.
- Boot into the live Linux from the USB
- Resize your existing Proxmox partition
I’ll give that a shot with gparted on the weekend if all else fails. Thanks!
Edit: nevermind, sda3 is already being used. The lv group needs to be embiggened.
I’ve done it before, but there’s always a lot of googling involved.
I think a combination of vgdisplay
and vgextend
may help: https://www.redhat.com/sysadmin/resize-lvm-simple
If sda3 is really <100GB it gets a lot scarier but is likely still doable.
I’m not a fan of Proxmox’s partitioning scheme and usually use a separate drive for the OS and the VMs because of this exact scenario.