Proxmox: Expanding the local storage

You may notice that your hard drive on your Proxmox server is split into 2 different volumes, “local” and “local-lvm”. For me, this makes it harder to manage and I would like everything under one data share. Here are the instructions on how to do that.

The first thing that we need to do is remove the “local-lvm” storage.

Go to Datacenter > Storage > Select “local-lvm” > Click Remove.

Now that the volume is deleted, we need to expand the “local” partition.

Go to Datacenter > Your Node > Shell > Enter the following commands.

				
					lvremove /dev/pve/data
lvresize -l +100%FREE /dev/pve/root
resize2fs /dev/mapper/pve-root
				
			

The last thing that you want to do, is make sure that we allow the “local” volume to be used for everything. 

Go to Datacenter > Storage > Select “local” > Click Edit.

You want to ensure that everything is selected like the photo bellow. Then click OK. 

Leave a Reply

Your email address will not be published. Required fields are marked *