Expand LVM and Grow an XFS Filesystem
The application volume is filling up and a second disk has arrived. You add it to the group, grow the volume and the filesystem while the application keeps writing, and prove nothing was lost, before and after a reboot.
Skill labintermediate~35 minPro
What you'll do
- ✓Add a physical volume to a live volume group
- ✓Extend a logical volume to an explicit size and leave headroom
- ✓Grow a mounted XFS filesystem online
- ✓Verify data and a running writer across the change and a reboot, and know why XFS cannot shrink
Lab outline
- 01Before
- 02Grow
- 03Prove it
Before you start
- Build an LVM Application Volume
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.