lvextend

Linux LVM: Resizing and Extending for Amazon EC2

One of the things I need to do with some regularity is to resize and extend disk volumes on Amazon EC2. Since I don't deal with LVM on a daily basis I also tend to forget the steps to do it, and for whatever reason Googling around tends to produce incomplete instructions. So here is my general process for this - your mileage may vary. I assume XFS here, if you use ext2/3/4 you would use resizefs at the end instead of xfs_growfs. Without further ado, here goes:

1) Take a snapshot of the EBS volume to extend.

Subscribe to RSS - lvextend