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
Solved

FileSystem resize problem

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to mount nfs share on this CentOS server? 6 42
PHP error function not working on AWS 10 66
EqualLogic PS3000 Switch Port Setup 1 20
Disabling security updates Ubuntu 3 25
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…
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

808 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