Extending an LVM Logical Volume

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

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" cssfile="">