Extending an LVM Logical Volume

Extending an LVM Logical Volume

July 26, 2009 11:03 pm 0 comments

As a followup to my AoE storage server posts (Part 1, Part 2), I recently needed to extend an LVM logical volume from 1TB to 1.3TB. As per the LVM howto, I followed these steps:

On the "client" (the server that had mounted the AoE share):
umount /backups

On the storage server:
vblade-persist stop 0 1
lvextend -L1331GB /dev/data1/backups
e2fsck -f /dev/data1/backups
resize2fs /dev/data1/backups
vblade-persist start 0 1

On the "client":
aoe-stat
mount /dev/etherd/e0.1 /backups

Leave a reply