6d224861 came from a --no-checkout worktree whose empty index made the
commit drop every file except two. This restores 05b50d2b's full tree and
correctly adds stacks/stem95su/gdrive-sync.tf + the service-catalog stem95su
entry. Forward-only (parent=6d224861, no force-push); [ci skip] since the
live infra was never applied from the broken commit.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2 KiB
2 KiB
Runbook: Grow /srv/nfs LV (pve/nfs-data)
Use when /srv/nfs on the PVE host is filling up and the workloads writing to it cannot be slimmed down. The LV sits on the LVM-thin pool pve/data (10.54 TB total). Thin-pool free space is the real gate — confirm before extending.
When to use
df -h /srv/nfsshows usage > ~85 % and projected growth exceeds free space within a backup retention window.- An upcoming bulk write (media import, restore) needs headroom that the current free space won't absorb.
Steps
-
Check thin-pool headroom on PVE host:
ssh root@192.168.1.127 'lvs pve/data; lvs pve/nfs-data; df -h /srv/nfs'The
pve/datathin pool'sData%should leave room for the extension (targetData%after extend < 90 %). -
Extend the LV and online-resize ext4:
ssh root@192.168.1.127 ' lvextend -L +1T pve/nfs-data && resize2fs /dev/pve/nfs-data 'Both commands are safe online:
lvextendonly grows allocation,resize2fsextends ext4 while mounted. -
Verify:
ssh root@192.168.1.127 'lvs pve/nfs-data; df -h /srv/nfs'dfshould show the new size;Use%should drop proportionally.
Notes
- Not Terraform-managed. PVE host LVs live outside the IaC tree (no
infra/stacks/pve-host/). Record the new size indocs/architecture/storage.md(the "HDD NFS" line and the diagram label) in the same commit. - Thin-pool overcommit warning from
lvextendis informational — it reports the sum of all thin volume virtual sizes (currently ~12 TiB) vs. the physical pool (10.7 TiB). Real fill ispve/dataData%; ignore the overcommit warning unlessData%itself is climbing toward 100 %. /srv/nfs-ssdlives on a separate LV (ssd/nfs-ssd-data) backed by SSDs — the samelvextend/resize2fspattern applies, but the source pool isssd/data.
Backout
Online shrinks are unsafe with active workloads. Don't try to shrink pve/nfs-data in place — restore from snapshot or migrate data out and rebuild the LV instead.