Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LVM expansion problem on CentOS



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: not available
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>



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org