[linux-lvm] Kernel panic - not syncing: No init found. Try passing init= option to,kernel
Heinz Mauelshagen
mauelshagen at redhat.com
Mon May 19 12:40:14 UTC 2008
On Mon, May 19, 2008 at 10:09:51AM +0200, Raquel Real López wrote:
>
> Hello!
>
> I have got a RedHat 3 Update 6 system. The system has a hard disk It's
> partitioned like:
> /dev/sda1 /boot Linux
> /dev/sda2 LVM
> /dev/disk1Vol/rootvol /
> /dev/disk1Vol/export /export
> /dev/disk1Vol/softw /softw
>
> The system was booted and it didn't start again.
> The message was:
> vgscan ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of
> volume group "disk1Vol" from physical volume
Any indication that the disk turned bad from before ?
Looks like it either did and your single copy of the LVM1 metadata
went south
-or-
the metadata got corrupted somehow differently.
>
> And then:
>
> Kernel panic - not syncing: No init found. Try passing init= option to
> kernel.
Expected kernel behaviour w/o root fs.
>
> If I boot with a rescue disk and I type "lvdisplay", LV UUID is
> "000000-00....".
LVM1 didn't have UUIDs on LVs, that's why.
Can you access the VG from the rescue disk and access your data alright ?
>
> How can I recover the system?
If the disk's intact, and you better prove that by running access tests
on /dev/sda from your rescue disk, you have to restore the metadata from
backup using pvcreate+vgcfgrestore. See man vgcfgrestore for details.
>
> Thanks in advance
> I
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
Storage Development 56242 Marienrachdorf
Germany
Mauelshagen at RedHat.com PHONE +49 171 7803392
FAX +49 2626 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the linux-lvm
mailing list