From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Kernel panic - not syncing: No init found. Try passing init= option to,kernel
Date: Mon, 19 May 2008 14:40:14 +0200 [thread overview]
Message-ID: <20080519124014.GA5134@redhat.com> (raw)
In-Reply-To: <483135CF.1080809@gfi-info.com>
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@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@RedHat.com PHONE +49 171 7803392
FAX +49 2626 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2008-05-19 12:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-19 8:09 [linux-lvm] Kernel panic - not syncing: No init found. Try passing init= option to,kernel Raquel Real López
2008-05-19 12:40 ` Heinz Mauelshagen [this message]
2008-05-19 15:19 ` Raquel Real López
2008-05-20 13:07 ` Raquel Real López
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080519124014.GA5134@redhat.com \
--to=mauelshagen@redhat.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.