LVM expansion problem on CentOS

John Abreau john.abreau at zuken.com
Mon Oct 2 11:36:44 EDT 2006


On Sat, 2006-09-30 at 08:25 -0400, Jerry Feldman wrote:

> You probably already know this, but expanding a LVM partition is just a
> single step. You also must resize the underlying file system. I've had
> to do this a few times in the past couple of months. Recently, Tim was
> having trouble installing Oracle on  a testdrive system. I used the LVM
> GUI and expanded the swap, ran mkswap and everything was ok. One of the
> other systems I had to expand the entire volume. After that I ran
> ext2resize to resize the file system itself.

Yes, that was in my original message: 

* lvextend --size +12g /dev/BrodieVG/home
* ext2online /dev/BrodieVG/home

lvextend increased the logical volume, and ext2online grew the ext3 
filesystem to use the new space. ext2online is like ext2resize, 
except that it works on a live filesystem; you don't have to 
unmount it to grow it. 


-- 
John Abreau
IT Manager
Zuken USA
238 Littleton Rd., Suite 100
Westford, MA 01886
T: 978-392-1777            F: 978-692-4725
M: 978-764-8934
E: John.Abreau at zuken.com  W: www.zuken.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.blu.org/pipermail/discuss/attachments/20061002/92a684c3/attachment.sig>


More information about the Discuss mailing list