From: Johan Ur Riise <riise@rsc.no>
To: linux-lvm@sistina.com
Subject: [linux-lvm] vgscan error
Date: Thu, 19 Apr 2001 22:52:11 +0200 [thread overview]
Message-ID: <20010419225211.C5892@egg.topp.dyndns.com> (raw)
I saw som messages about a problem like this, and I think it is not
resolved. Here is my description:
vgscan locates my vg, vg00, then exits, there is no lvmtab or lvmtab.d
in /etc.
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found inactive volume group "vg00"
vgscan -- only found 342 of 1026 LEs for LV /dev/vg00/lv02 (1)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get data of volume group "vg00" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating "/etc/lvmtab" and "/etc/lvmtab.d"
pvscan reports this:
[root@egg /root]# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/hda2" of VG "vg00" [19.09 GB / 12.09 GB free]
pvscan -- ACTIVE PV "/dev/hdc2" of VG "vg00" [6 GB / 6 GB free]
pvscan -- total: 2 [25.09 GB] / in use: 2 [25.09 GB] / in no VG: 0 [0]
this is the last 14 lines of vgscan --debug:
<1> vg_read_with_pv_and_lv -- LEAVING with ret: -365
<1> lvm_error -- CALLED with: -365
<1> lvm_error -- LEAVING with: "vg_read_with_pv_and_lv(): allocated LE of LV"
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get data of volume group "vg00" from physical volume(s)
<1> lvm_interrupt -- CALLED
<1> lvm_interrupt -- LEAVING
<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: 0
<1> lvm_error -- CALLED with: -365
<1> lvm_error -- LEAVING with: "vg_read_with_pv_and_lv(): allocated LE of LV"
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating "/etc/lvmtab" and "/etc/lvmtab.d"
<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: -104
I performed these operations:
created pv's on /dev/hdc6, /dev/hde6 and /dev/hdg6 total approx 42GB
created a vg named vg00 on these
I got a few of messages like these:
-- WARNING: you may not have an actual VGDA backup of your volume group
created a lv of 20GB. This used all of first partition and half of the
second.
tried to create an lv stiped over 3 (but no space left on first pv)
moved 1 pe from hdc6 to hdg6
moved next pe and up to the end by number(hope I got the number right)
from hdc6 to hdg6. Ran mkfs.ext2 on this lv while it was moving (fun).
created the striped lv
All seemed to go well up to this point
somewhere in between I tried to run lvmcreate_initrd and got a program
hang, so i had to kill it
After reboot, vgscan would not run.
My kernel is 2.4.2 stock.
My system is debian, and lvm (the tools) was from the
"unstable" distribution.
I dumped it, and downloaded lvm_0.9.1_beta7.tar.gz in stead. same
problem.
I also messed with the lvmconf directory (and its gone)
I have another machine which I have not booted since i created the
pv's vg and lv, with the debian lvm package, and have not got any
error (probably will if I boot).
I could probably compile the tools with -g and run vgscan in gdb,
but I don't know what to look for.
--
Johan Ur Riise
90 15 77 78
next reply other threads:[~2001-04-19 20:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-19 20:52 Johan Ur Riise [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-03-22 21:56 [linux-lvm] vgscan ERROR Ed Tomlinson
2001-03-23 2:37 ` Ed Tomlinson
2001-03-23 17:36 ` David Vidal Rodriguez
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=20010419225211.C5892@egg.topp.dyndns.com \
--to=riise@rsc.no \
--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).