A Fishy Wiki

Stuff and things

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/vzdump-lxc-100.date.tar.gz --rootfs local-lvm:3

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

Mount host folder in container

Navigate to /etc/pve/lxc and edit ###,conf. Add the following line:

/var/www/dokuwiki/data/pages/admin/proxmox.txt · Last modified: 2019-01-26 16:25 by Tom