Tech
Linxr | Part 9 — Dynamic Storage Expansion & Automatic resize2fs on Boot
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 ima...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to