In Part 8, we solved network latency for instant terminal typing. Today in Part 9, we explain how we implemented dynamic virtual disk expansion (resize2fs) across reboots without data loss.

The Problem: Hardcoded 1.4 GB Filesystems

In early Linxr builds, setting 30 GB or 50 GB storage in Settings appeared to allocate a larger QCOW2 virtual disk. However, inside Alpine Linux, running df -h still reported only 1.4 GB of usable disk space!

Why?

The base rootfs image was formatted as a 1.4 GB ext4 partition.