Skip to main content
Tim's (still) not blogging

All Volume Management should be Logical

It’s almost too easy.

$ sudo lvextend -L +500M /dev/vg/tmp
  Extending logical volume tmp to 2.39 GiB
  Logical volume tmp successfully resized

$ sudo resize2fs /dev/vg/tmp
resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/vg/tmp is mounted on /tmp; on-line resizing required
old desc_blocks = 1, new_desc_blocks = 1
Performing an on-line resize of /dev/vg/tmp to 627712 (4k) blocks.
The filesystem on /dev/vg/tmp is now 627712 blocks long.