User Tools

Site Tools


Shrink LXC storage

Step 1: Stop the container

pct stop 100

Step 2: Create a backup of the container

vzdump 100 -storage raid-extra -compress gzip

Step 3: Delete the container

pct destroy 100

Step 4: Restore the container

pct restore 100 /path/ --rootfs local-lvm:3

Where “3” is the new size of the rootfs in GB.

/var/www/dokuwiki/data/pages/lab/proxmox/downsize-container.txt · Last modified: 2020-06-14 02:58 by