Slackware HowTo

Extend an LVM volume and filesystem on Slackware

Increase available space with a clear sequence across PV, VG, LV, and filesystem resize.

1. Goal

Increase available space with a clear sequence across PV, VG, LV, and filesystem resize.

2. Files and components involved

pvdisplay
vgdisplay
lvdisplay
resize2fs oppure xfs_growfs

3. Operational flow

vgdisplay vg0
lvextend -L +20G /dev/vg0/data
resize2fs /dev/vg0/data oppure xfs_growfs mountpoint

4. Operational verification

lvs
df -h
blkid /dev/vg0/data

5. Practical notes

Before touching disks, mounts, and filesystems, note the UUIDs, current outputs, and the latest valid backup available.

When you work on storage and filesystems, the rule stays the same: first identify the right device, then modify, and finally verify.

Quick checklist

[ ] Backup or copy of the existing configuration completed
[ ] Files and commands updated as expected
[ ] Local test completed successfully
[ ] Logs or final output verified
[ ] Rollback procedure documented

Back to the Linux HowTo section