LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2014, 10:59 PM   #1
joshd2007
LQ Newbie
 
Registered: Nov 2014
Posts: 2

Rep: Reputation: Disabled
CentOS Fails To Book After lvextend


Hello,

I currently run a server that has CentOs 64 bit installed on it. We received a notification from WHM stating that one of our partions was at 89% full.To prevent it from filling up, I lvextend -L +16G /dev/mapper/vg_mhhub-lv_home . It extended the drive and when I did df -h, it only showed 34% used. After that, we rebooted and now the server will not start. It is giving errors stating that the filesystem size (according to the superblock) is 228761680 blocks. The physical size of the device is 207003648. Either the superblock or the partion table is likely to be corrupt.

The server has been offline for several days now as I have been trying all types of stuff found on this forum and other websites trying to resolve. When I run fsck manually as it states, it gives errors such as Error reaading block 207093760 (invalid argument) while reading inode and block bitmaps. It asks if I want to ignore and I always so no (even though it repeats this message over and over again) and exit the shell and the server tries to rebook and gives the same thing. Any help would be greatly appreciated. Also, it states fsck:ext4: Cant read an block bitap while retrying to read bitmaps for /dev/mapper/vg_mapper/vg_mhhub-lv_home.

df outputs as follows:

PHP Code:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_mhhub-lv_root
           137141352  44904172  90844544 34
% /
tmpfs      8165528    0   8165528  0% /dev/shm
/dev/sda1  137141352  44904172  90844544 34% /boot
/dev/mapper/vg_mhhub-lv_home 
           137141352  44904172  90844544 34
% /home
/usr/tmpDSK 137141352  44904172  90844544 34% /home 
 
Old 11-06-2014, 06:22 AM   #2
grubby
LQ Newbie
 
Registered: Oct 2014
Distribution: Centos 6.5
Posts: 16

Rep: Reputation: Disabled
You say you _only_ did an lvextend.

Usually after an lvextend (which only extends the logical volume, not the filesystem) you have to do a resize2fs to extend the filesystem to the new lv size.

Don't know if its too late now, but I'd say try this:

resize2fs /dev/mapper/vg_mhhub-lv_home
 
Old 11-06-2014, 10:33 AM   #3
joshd2007
LQ Newbie
 
Registered: Nov 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the reply. When I run that command it tells me to run e2fsck -f /dev/mapper/vg_mhhub-lv_home first. When I run that command, it says the same thing about the super block or portion table being corrupt and asks me if I want to abort. I press no and it runs through 5 checks and then it says error reading block 207093760 (invalid argument) while reading inode and block bitmaps. In gore error?. If I say no it says can't read an block bitmap while retrying to read bitmaps and then it aborts. If I press yes to ignore, I eventually end up at the same error
 
Old 11-06-2014, 04:03 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,248

Rep: Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156
I find it hard to believe all the non-tmpfs filesystems are exactly the same size and used. Where did you get that "df" listing from - does the server drop to rescue mode on boot ?.
Quote:
I have been trying all types of stuff found on this forum and other websites trying to resolve.
That's a worry - we woud need to know precisely what you did, and in what order, to have any chance of making an informed suggestion.

Last edited by syg00; 11-06-2014 at 04:26 PM. Reason: removed comment
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Western Digital My Book 3TB on CentOS 5.4 loadedmind Linux - Newbie 11 07-30-2014 08:33 AM
regarding lvextend sushdba Linux - Newbie 3 06-17-2013 01:13 AM
[SOLVED] Can I learn Centos 6 from a redhat book? kb2tfa Red Hat 4 03-22-2012 07:24 AM
lvextend? sachinh Linux - General 3 09-22-2009 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration