Solved

FileSystem resize problem

Posted on 2007-04-01
3
928 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
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now