FileSystem resize problem
Posted on 2007-04-01
I'm trying to add more space to a servers Logical Volumes:
I added 2 400G to our raid controller and got it configured.
To be safe, I just created a new partition /dev/sda3 instead of trying to expand /dev/sda2
I used pvcreate /dev/sda2 - it was successful
I used vgextend to include /dev/sda2 - it was successful
I then used lvextend /dev/VolGroup00/lvHome -L + 360G - it was successful
Now I'm trying to ext2online /home and I get the following:
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
ext2online: ext2_open: invalid superblock
ext2online: can't open /dev/mapper/VolGroup00-lvHome
Anyway around this - will unmounting and running a disk check fix this? I really need to get this done online if possible. Very critical server. If it does need to go down, I need to get the fs resized asap and back up.
Thanks in advance