The community post-install script is used to simplify initial setup, disable subscription warnings, and configure repositories.
π PVE Post Install on GitHub
This sequence assumes your VM disks are already migrated and the local-lvm storage is removed. The goal is to reclaim the block storage space and merge it into the directory-based / partition.
Go to the Proxmox GUI at Datacenter
- Edit
local(Directory): Select thelocalstorage entry. Click Edit. Under the Content dropdown, ensure Container template and Disk image are both selected (or checked). This allows the reclaimed space to host container/VM files. - Remove
local-lvm: Select thelocal-lvmentry. Click Remove. This prepares the underlying LVM thin pool for deletion.
Execute these commands carefully in the Proxmox Shell:
# 1. REMOVE the LVM Thin Pool (named 'data' by default)
# !!! WARNING: DELETES ALL VM DATA ON local-lvm !!!
lvremove /dev/pve/data
# 2. EXTEND the root volume to use all the freed space
lvextend -l +100%FREE /dev/pve/root
# 3. RESIZE the filesystem to recognize the new space
resize2fs /dev/mapper/pve-root