Working with Proxmox Resizing Containers in Proxmox See original details here: https://forum.proxmox.com/threads/resize-lxc-disk-on-proxmox.68901/ On your proxmox node, do this. 1. List the containers: pct list 2. Stop the particular container you want to resize: pct stop 999 3. Find out it's path on the node: lvdisplay | grep "LV Path\|LV Size" 4. For good measure one can run a file system check: e2fsck -fy /dev/pve/vm-999-disk-0 5. Resize the file system: resize2fs /dev/pve/vm-999-disk-0 10G 6. Resize the local volume lvreduce -L 10G /dev/pve/vm-999-disk-0 7. Edit the container's conf, look for the rootfs line and change accordingly: nano /etc/pve/lxc/999.conf rootfs: local-lvm:vm-999-disk-0,size=32G >> rootfs: local-lvm:vm-999-disk-0,size=10G 8. Start it: pct start 999 9. Enter it and check the ...
Posts
Showing posts from June, 2025