Expand default 100G 'local' storage volume to 200G?

MikeC

Renowned Member
Jan 11, 2016
71
0
71
Bay Area, California
Hello. It appears that by default proxmox creates a 100G 'local' storage volume for VZDump backup files, ISO images and Container templates.
A local-lvm was set up using the balance of our 2G disk, of which 12% is used. I'm finding now that I need more room to bring over a 162G lzo backup.
Is there any way to extend the 'local' filesystem so that I can copy the lzo over?
 
you should be able to use vgs to see what free space there is for the pve volume group. If there's free space, you would use lvextend to grow root the desired amount and then use resize2fs to resize it.

use lvdisplay to see what the path is for your logical volumes.

man lvextend
man resize2fs

to grow:
lvextend -L +100G /dev/pve/root

to resize:
resize2fs /dev/pve/root

I ended up removing local-lvm entirely since I made the move to Ceph and resized local to fill out the remaining free space.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!