ansible: growing a volume does not grow its filesystem (add resizefs: true) #298
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra#298
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Growing a Cinder volume does not grow its filesystem, and nothing in the playbook closes the gap.
community.general.filesystemin theforgejoandpodmanroles creates a filesystem but neverresizes one, and no task runs
resize2fs. So bumpinglfs_volume_size/data_volume_sizeandapplying leaves the block device larger and the filesystem exactly as it was. On 2026-08-01 that meant
lsblkreporting 60G whiledfstill showed 20G with 4.1G free, untilresize2fswas run by hand.The runbook documents the manual step, but it is easy to apply the volume change and believe the job
is done — the plan says
~ size, the apply succeeds, and monitoring still shows a nearly full diskwith no obvious link between the two.
What to do
Add
resizefs: trueto thecommunity.general.filesystemtasks for the data and LFS volumes. It isidempotent and a no-op when the filesystem already fills the device, so it costs nothing on a normal
converge and removes a footgun that only ever appears during a capacity emergency.
Check whether the root volume needs the
growpartstep handled too, since that one is partitioned andresize2fsalone is not enough there.