From: Frank Mohr <f_mohr@yahoo.de>
To: linux-lvm@redhat.com
Subject: [linux-lvm] pvscan fails
Date: Wed, 28 Jul 2004 01:10:14 +0200 [thread overview]
Message-ID: <4106E0D6.10D6AA3D@yahoo.de> (raw)
Hi
after a system crash my system can't find it's LVM volumes:
System:
- SuSE 7.3 with last 7.3 patches, own Kernel Update to 2.4.26
- was running for some longer time with SuSE lvm-1.0.0.2_rc2-6
(vgscan --help -> LVM 1.0.1-rc2 - 30/08/2001 (IOP 10))
- I've updated LVM to LVM 1.0.8 - 17/11/2003 (IOP 10)
in the hope to fix the problem
vgscan dies with a Segmentation fault
odie:~/LVM/1.0.8/tools # vgscan -v
vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- creating empty "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- scanning for all active volume group(s) first
vgscan -- reading data of volume group "DATAVG" from physical volume(s)
Segmentation fault
odie:~/LVM/1.0.8/tools #
pvscan finds the volumes of the VG
odie:~/LVM/1.0.8/tools # pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdc1" is associated to unknown VG "DATAVG"
(run vgscan)
pvscan -- inactive PV "/dev/hdd1" is associated to unknown VG "DATAVG"
(run vgscan)
pvscan -- inactive PV "/dev/hdb1" is associated to unknown VG "DATAVG"
(run vgscan)
pvscan -- total: 3 [306.23 GB] / in use: 3 [306.23 GB] / in no VG: 0 [0]
odie:~/LVM/1.0.8/tools #
Running vgscan -dv results in
...
<1> vg_read_with_pv_and_lv -- AFTER lv_read_all_lv; vg_this->pv_cur: 3
vg_this->pv_max: 255 ret: 0
<1> vg_read_with_pv_and_lv -- BEFORE for PE
<1> vg_read_with_pv_and_lv -- AFTER for PE
<1> vg_read_with_pv_and_lv -- BEFORE for LV
<1> vg_read_with_pv_and_lv -- vg_this->lv[0]->lv_allocated_le: 32500
Segmentation fault
(copied the last few lines - didn't want to send 72k debug output)
Is there any chance to fix this without loosing the data on the disks?
Frank
next reply other threads:[~2004-07-27 23:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-27 23:10 Frank Mohr [this message]
2004-07-27 23:17 ` [linux-lvm] pvscan fails Erik Ch. Ohrnberger
2004-07-28 14:37 ` Frank Mohr
2004-07-28 14:05 ` [linux-lvm] pvscan fails (more informations) Frank Mohr
2004-07-28 16:37 ` [linux-lvm] pvscan fails (some more debugging - cause found) Frank Mohr
2004-08-01 10:06 ` Frank Mohr
-- strict thread matches above, loose matches on Subject: below --
2002-08-25 22:39 [linux-lvm] pvscan fails Todd Troxell
2002-08-26 5:20 ` Heinz J . Mauelshagen
2002-08-27 11:23 ` Todd Troxell
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=4106E0D6.10D6AA3D@yahoo.de \
--to=f_mohr@yahoo.de \
--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.