When creating a container by default it creates a FS with 5% EXT4 reserved space, e.g.
This was originally intended so that root user doesn't run out of space completely, but under containerization it would mean the real PVE root, not the container root. So this is essentially pointless.
It also can't be changed from within the container as it doesn't have actual low level FS access.
It can't also be changed from PVE directly when container is in use due (at least in LVE case) e.g.
It can only be changed from PVE directly when container is stopped.
Is there any reason Proxmox creates FS with this reserved space that serves no purpose to the container besides wasting 5% space? Maybe this can be changed?
Code:
tune2fs -l /dev/mapper/data--ssd-vm--999--disk--0 | awk -F: '/Block count:/ {gsub(/^[ \t]+/, "", $2); total=$2} /Reserved block count:/ {gsub(/^[ \t]+/, "", $2); res=$2} END {printf "Reserved: %.2f%%\n", (res/total)*100}'
Reserved: 5.00%
It also can't be changed from within the container as it doesn't have actual low level FS access.
Code:
root@test-ct:~# mount | grep /dev/mapper/data--ssd-vm--999--disk--0
/dev/mapper/data--ssd-vm--999--disk--0 on / type ext4 (rw,relatime,stripe=16)
root@test-ct:~# tune2fs -m 0 /dev/mapper/data--ssd-vm--999--disk--0
tune2fs 1.47.2 (1-Jan-2025)
tune2fs: No such file or directory while trying to open /dev/mapper/data--ssd-vm--999--disk--0
Couldn't find valid filesystem superblock.
Code:
tune2fs -m 0 /dev/mapper/data--ssd-vm--999--disk--0
tune2fs 1.47.0 (5-Feb-2023)
tune2fs: MMP: device currently active while trying to open /dev/mapper/data--ssd-vm--999--disk--0
MMP error info: node: pve, device: dm-19, updated: Sun Oct 5 21:27:16 2025
Code:
root@pve:~# tune2fs -m 0 /dev/mapper/data--ssd-vm--999--disk--0
tune2fs 1.47.0 (5-Feb-2023)
Setting reserved blocks percentage to 0% (0 blocks)
root@pve:~# tune2fs -l /dev/mapper/data--ssd-vm--999--disk--0 | awk -F: '/Block count:/ {gsub(/^[ \t]+/, "", $2); total=$2} /Reserved block count:/ {gsub(/^[ \t]+/, "", $2); res=$2} END {printf "Reserved: %.2f%%\n", (res/total)*100}'
Reserved: 0.00%
Is there any reason Proxmox creates FS with this reserved space that serves no purpose to the container besides wasting 5% space? Maybe this can be changed?