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

MikeC

Renowned Member
Jan 11, 2016
79
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.