From: Lukasz Trabinski <lukasz@hq.nawigator.pl>
To: linux-lvm@sistina.com
Subject: [linux-lvm] Problems with vgscan
Date: Sat, 10 Mar 2001 00:31:05 +0100 (CET) [thread overview]
Message-ID: <20010309233105.B29DEFAD7@hq.nawigator.pl> (raw)
Hello
I have problems with the vgscan ( Linux, kernel 2.4.2 and 2.4.1)
[root@xxx tools]# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found inactive volume group "test"
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
data of volume group "test" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating
"/etc/lvmtab" and "/etc/lvmtab.d"
I have appled patch from posted to this list (diff -u -r1.3.2.3
tools/lib/pv_read_all_pv_of_vg.c)
Comments line from the
#if 0
/* in case this PV already holds a uuid list: check against this list */
to line:
#endif
/* avoid multiple access pathes */
Recompiled all tools from LVM (0.9 version), and I have done
[root@xxx /root]# vgcfgrestore /dev/hdh1 -n test
vgcfgrestore -- VGDA for "mp3" successfully restored to physical volume
"/dev/hdh1"
[root@xxx /root]# vgcfgrestore /dev/hdg1 -n test
vgcfgrestore -- VGDA for "mp3" successfully restored to physical volume
"/dev/hdg1"
And I have still problems with the vgscan:
[root@xxx tools]# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found inactive volume group "test"
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
data of volume group "test" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating
"/etc/lvmtab" and "/etc/lvmtab.d"
[root@xxx tools]# vgdisplay
vgdisplay -- ERROR: "/etc/lvmtab" doesn't exist; please run vgscan
[root@xxx tools]# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdg1" is associated to an unknown VG (run
vgscan)
pvscan -- inactive PV "/dev/hdh1" is associated to an unknown VG (run
vgscan)
pvscan -- total: 2 [65.89 GB] / in use: 2 [65.89 GB] / in no VG: 0 [0]
Any sugestions? Have I lost my all data from 65.89 GB?!
--
*[ �ukasz Tr�bi�ski ]*
SysAdmin @polvoice.com
next reply other threads:[~2001-03-09 23:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-09 23:31 Lukasz Trabinski [this message]
2001-03-10 0:04 ` [linux-lvm] Problems with vgscan Andreas Dilger
2001-03-10 0:36 ` Lukasz Trabinski
2001-03-12 14:16 ` Lukasz Trabinski
2001-03-12 18:25 ` Andreas Dilger
-- strict thread matches above, loose matches on Subject: below --
2000-03-24 19:00 [linux-lvm] problems " jorg de jong
2000-03-25 14:03 ` Heinz Mauelshagen
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=20010309233105.B29DEFAD7@hq.nawigator.pl \
--to=lukasz@hq.nawigator.pl \
--cc=linux-lvm@sistina.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).