Wednesday, November 9, 2011

Resizing LVM volumes

Just made the costly mistake of shrinking an LVM volume by booting from a DVD, and using lvm to resize directly. I should have read the following first -

http://www.linuxquestions.org/questions/linux-enterprise-47/shrink-lvm-without-dataloss-557746/

Seems the key step I missed was to use 'resize2fs' to resize the filesystem first.

Having re-installed... my next step is to put a second install on the hard disk, for future recovery work.

No comments: