Leaving most of the x1 disk unallocated
The installer gave the root volume 100 GB. I kept it that way and left 374 GB free for lab clusters.
I checked the disk layout on x1, the ThinkPad that runs my management K3s cluster.
The NVMe drive is 512 GB. Ubuntu Server’s installer gave the root logical volume only 100 GiB and left about 374 GiB unallocated in the volume group. df showed 89 GiB free on /.
The AI agent’s first idea was to grow root to the whole disk. I asked whether we’d leave room for other K3s labs, for experiments and teaching, beyond the main VM. I’m fairly sure there will be other VMs, some of them short-lived.
So I kept root at 100 GiB.
ext4 can grow while mounted, in about a second, with lvextend --resizefs. It can’t shrink while mounted. Growing later is easy. Taking space back is not.
I planned the same kind of headroom for the Dell Proxmox host. The persistent workload VM will be capped at 8 vCPU, 28 to 32 GiB of RAM and a 120 GiB thin disk. That should leave about 200 GiB of the 319.6 GiB thin pool and 24 to 28 GiB of RAM for learning VMs. It’s planned headroom; thin disks only use space once written.
Next I’ll find out how much of the 89 GiB the platform services actually use.
Recipes written later from this work: