Thread: LVM crash
View Single Post

  #4 (permalink)  
Old 02-19-2006
AZ Nomad
 
Posts: n/a
Default Re: LVM crash

On Sat, 18 Feb 2006 19:40:55 +0100, Jon Martin Solaas <jon.martin.solaas@jahoo.nei> wrote:


>Tauno Voipio wrote:
>> Jon Martin Solaas wrote:
>>> During installation of a new scsi disk in a ProLiant 370 server with
>>> RHEL4, LVM manager crashed (hung) and the configuration was corrupted.
>>> The machine cannot boot, and gets kernel panic.
>>>
>>> Configuration:
>>>
>>> /dev/sda1: mounted as /boot non lvm
>>>
>>> /dev/sda2: included in VolGroup00 (ext3),
>>>
>>> /dev/sdb1: included in VolGroup00 (ext3)
>>>
>>> /dev/sdc1: should have been included in VolGroup00 (the new disk)
>>> /dev/sdc3: util partition on the disk or something from the vendor.
>>>
>>> / (root) was mountet on VolGroup00, except /boot
>>>
>>> Printouts fra lvm (bootet fra RHEL4 rescue cd)
>>>
>>> Output from lvscan and vgscan:
>>>
>>> lvm>lvscan
>>> lvm>vgscan
>>>
>>> Couldn't find device with uid m51fn4 .... oWH4t1
>>> [repeat a couple of times]
>>> Volume group "VolGroup00" not found
>>>
>>> lvm>pvscan
>>>
>>> Couldn't find device with uid m51fn4 .... oWH4t1
>>> PV /dev/sda2 VG VolGroup00 lvm2 [33,81 GB / 128MB free]
>>> PV /dev/sdb1 VG VolGroup00 lvm2 [33,91 GB / 0 free]
>>> PV unknown device VG VolGroup00 lvm2 [0 / 0 free]
>>>
>>> lvm>
>>>
>>> If only the lvm is corrupt, and the partitions and data are ok, I
>>> suppose it's possible to recover from this. But how? I do not want to
>>> experiment with this server, and I'm not very fluent in lvm
>>> configuration...

>>
>>
>> If the system boots up, it is probable that /dev/sda is accessible.


>It does not boot, ref the kernel panic mentioned above.


You can't do anything until you can boot the system. Have you tried
booting from your distro's install CD?

Do a google search for "rebuild linux LVM". I've done similar searches for
rebuilding raid volumes. You should find everything you need in the various
LVM how-to out there.
Reply With Quote