Resize Disk (Host)
Run on the Proxmox host:
pct resize <CTID> rootfs +10GOr set an exact size:
pct resize <CTID> rootfs 40GVerify:
pct config <CTID>Verify (Inside Container)
pct enter <CTID>
df -h
lsblkIn most default setups (e.g. local-lvm + ext4 on LV), the filesystem expands automatically.
If Manual Resize Is Needed
ext4
resize2fs /dev/mapper/pve-vm--<CTID>--disk--0XFS
xfs_growfs /Tip
Before resizing, check what’s actually consuming space:
du -h --max-depth=1 / | sort -h