Solved

FileSystem resize problem

Posted on 2007-04-01
3
947 Views
Last Modified: 2013-12-15
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.
Any suggestions?
Thanks in advance

0
Comment
Question by:chuckbeats
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
ShineOn earned 500 total points
ID: 18832967
Yer using EXT2 for home directories?

Anyway, it usually helps to mention your distro/version. Most commands are used and work the same, but there may be distribution-specific tools, or distro-specific known issues...

At any rate, one can but hope that taking the lv offline and running a check might help.

I've not seen a lot of stuff on the online resize for ext2 that give me warm-fuzzies...  I probably would've suggested doing the offline resize including the fsck part...
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question