Proxmox @ daphnia | Tuesday, Jul 8, 2025 | 2 minutes read | Update at Wednesday, Jul 9, 2025

Problem encountered

I had a proxmox server locally running with a disk space of roughly 4TBs. The time came to analyze an unsually large disk image (~1TB). However, by default, when you install a proxmox server, two partitions are created: local and *local-lvm". local is usually automatically assigned ~90-100GB, and this partition is where the root ("/") is mounted. local-lvm gets all the remaining space left on your server.

“local” is a regular directory, and thus you can store any files or folders you want there (containers’ and VM’s backup, IS files, etc..). On the other hand, local-lvm is a volume used to efficiently manage and allocate disk space. It is in local-lvm that you will see your lists of VMs and containers (that’s where they are stored). You can’t add files/folders in this partition as you would on “local”.

To create a VM from a backup disk image in promox, you first need to upload it to the proxmos server. However, I had less than 100GB available on the server (and my backup image was ~1TB).

Solution:

I had to reduce the space assigned to local-lvm and hand it over to “local”. P.S. This involves recreating local-lvm to a smaller size. Thus, in the process, you will lose all the VMs and containers previously created (since they are all stored on local-lvm).

Steps

  1. Log in to your proxmox server. Let’s look at the space available:

Let’s remove the data volume:

  1. We create a new
Catch me if you can

© 2022 - 2025 daphnia

Powered by Hugo with theme Dream.

avatar

Cybercrime investigatorA guy who enjoys hunting down criminals lurking in the cyberspace