LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-09-2006, 10:25 PM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Rep: Reputation: 28
Unhappy Corrupt LVM


I have a serious disk problem. I installed FC5 and accepted the default disk partitioning - LVM. First time I've used it, and may be the last for a while. Too many eggs in one basket!

I was logged in and browsing, nowhere near root, when I decided to reboot. Massive errors related to read-only file system - files in /var could not be deleted, etc.

Now when I boot, the kernel is uncompressed:

Uncompressing Linux... Ok, booting the kernel.
Red Hat nash version 5.0.32 starting
Reading all physical volumes. This may take a while..

Found volume group "VolGroup00" using metadata type lvm2
2 logical volume(s) in volume group "VolGroup00" now active

EXT3-fs error (device dm-0): ext3_check_descriptors: Block bitmap for group 0 not in group (block 3925999616)!

EXT3-fs: group descriptors corrupted !
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
...

How do I recover?
 
Old 11-09-2006, 10:35 PM   #2
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 31
i would just redo the partitioning if possible. Get a recovery disk like backtrack and boot it as a livecd. Then get a free harddrive and use backtrack to copy all your data on whatever drive you have that is ext-3. Then delete the partition,remake and fill with backup.
 
Old 11-10-2006, 12:29 AM   #3
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
I'm not sure your problem is LVM. Actually I doubt that it is. You've got filesystem corruption for sure. But that in itself does not necessarily indict LVM - maybe, maybe not.

Did you do a normal reboot? i.e., a clean shutdown? Where you having problems before the reboot (why did you reboot?) Did you get those massive errors on shutdown? Sounds like you had a filesystem mounted readonly. That tends to happen when corruption is detected.

You need to manually run fsck on your filesystem(s). If you can't boot far enough to do that, you will need a LiveCD like Knoppix.
 
Old 11-10-2006, 01:15 AM   #4
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Original Poster
Rep: Reputation: 28
I had no indication of a problem when I decided to reboot. I don't remember just why I wanted to reboot, but /var was readonly on shutdown. As it happens, I had just read earlier today that a filesystem could be made readonly if disk problems were encountered...

The problem is a corrupt ext3 fs, not LVM. LVM just confused the issue.

I used Knoppix 5.0 to locate and activate the logical volumes, and have run e2fsck but it does not seem to be able to replace the missing block bitmap.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to change non-LVM to LVM? darthfoolish Linux - Software 2 08-01-2008 03:47 AM
corrupt dvd Spoof-Mike General 3 09-28-2006 10:20 AM
reiserfs corrupt daly1 Linux - General 5 12-06-2005 09:52 PM
Corrupt DF output DaCypher Linux - Software 1 08-16-2004 11:05 AM
reiserfs corrupt! zdenkod Linux - Hardware 2 06-04-2004 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:01 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