Re: LVM crash
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.
>
> If the UID is for /dev/sdb, it seems that your system does not
> find the disk at all. Is the disk still in the system?
To me it seems sdb is just fine, ref the pvscan output. And, yes, the
disk is very much in the system.
>
> If yes, is it possible that the new disk (/dev/sdc?) is attempting
> to use the same SCSI bus ID as the previous /dev/sdb. Check the
> jumpering in the new disk.
I think the disks are basically ok, before the shit hit the fan, the
system was up and running off /dev/sda and /dev/sdb, and I could use
fdisk to make a partition on /dev/sdc.
--
jon martin solaas
|