Skip to main content

Increase LXC Disk Size in Proxmox

Here is a refined, concise, and professional version of your text:


I recently noticed that my BookStack LXC container on Proxmox had only 8 GB of storage assigned. Fortunately, increasing the disk size is straightforward.

Increasing the disk size via the Proxmox web interface

The simplest method is through the Proxmox VE interface:

  1. Log in to the Proxmox UI.
  2. Open your container and navigate to Resources.
  3. Select the Root Disk.
  4. In the Volume Action dropdown, choose Resize.
  5. Enter how much additional space you want to add (you specify the increment, not the final size).

Note: You cannot decrease disk size here.

proxmox-increase-disk-size.png

Increasing the disk size via the command line

You can also resize the disk directly from the Proxmox host:

  1. SSH into your Proxmox server.
  2. Run the pct resize command with the new size:
pct resize <vmid> <disk> <size>

In my case, I increased the root disk of my Bookstack container (ID 105) to 64 GB:

pct resize 105 rootfs 32G

After resizing, log into the container and verify the new size with:

df -h

Both methods work reliably, and the UI will reflect the updated disk size immediately.


If you'd like, I can convert this into a markdown blog post with frontmatter and tags.