Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

FileSystem resize problem

Posted on 2007-04-01
3
Medium Priority
?
967 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 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Suggested Courses

610 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