Tag Archives: lvm

LVM Resize

Hard_disk_head_crashThe /tmp volume on my desktop Linux system is too small, causing system updates to fail. The steps to enlarge the underlying LVM volume and file system to 1GB are:

# lvextend -L1G /dev/vg/tmp
# resize2fs /dev/vg/tmp

I could also have used:

# lvextend -L+1G /dev/vg/tmp

followed by resize2fs to add 1GB to the volume.