Back to all scenarios
Scenario #312
Storage
Kubernetes v1.22, OpenEBS
Volume Resize Not Reflected in Mounted Filesystem
Volume expansion was successful on the PV, but pods didn’t see the increased space.
Find this helpful?
What Happened
After increasing PVC size, the PV reflected the new size, but df -h inside the pod still showed the old size.
Diagnosis Steps
- 1Checked PVC and PV: showed expanded size.
- 2Pod logs indicated no disk space.
- 3mount inside pod showed volume was mounted but not resized.
Root Cause
Filesystem resize not triggered automatically.
Fix/Workaround
• Restarted pod to remount the volume and trigger resize.
• Verified resize2fs logs in CSI driver.
Lessons Learned
Volume resizing may require pod restarts depending on CSI driver.
How to Avoid
- 1Schedule a rolling restart after volume resize operations.
- 2Check if your CSI driver supports online filesystem resizing.