Linux Labs

Storage / Stage 6 of 11

Logical volumes and growing a filesystem

Not running Starting usually ~20 s
Leave the lesson

Step 7 of 7 · summary · 2 min

Summary

  • Free space in the group and free space in the filesystem are different layers: vgs shows the first, df the second.
  • A volume grows by the group's extents; -L 256M sets the final size, so a repeat is safe.
  • After the volume, ext4 grows with lvextend -r or resize2fs, and you check both layers: lvs and df.
  • At the start of the lesson the volume was full while the device had room: more than 200M sat in the lab_vg group and did not belong to data.
Ubuntu 24.04
Loading…