From: Erkki Seppala <flux-lvm@inside.org>
To: linux-lvm@sistina.com
Subject: [linux-lvm] bug: raid1 sub-devices are scanned too
Date: Fri Feb 22 19:55:02 2002 [thread overview]
Message-ID: <20020223015504.GA828@xulfad.ton.tut.fi> (raw)
Whether the bugzilla is publicly open is unclear to me, atleast there
didn't seem to be a link there in sistina.com/lvm - or I didn't find
it.
Actually I'm not sure if there is a real reason to fix this, as it
would need making vgscan understand more about the raid-stuff, but it
sure does look confusing. Perhaps a generic facility to "blind out"
devices from it? Perhaps this kind of capability should be in the
kernel, not just for LVM..
I recently had a problem with a volume group reusing an existing
logical volume number, but I resolved that, as vgscan suggested, with
vgexport/vgimport. However, this bug appeared:
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "mirror"
vgscan -- found active volume group "ibm9"
vgscan -- found active volume group "archive"
vgscan -- found inactive volume group "mirrorPV_EXP"
vgscan -- ERROR: VG "mirrorPV_EXP" reuses an existing VG number; please vgexport/vgimport that VG or use option -f
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume groups
I imagine this is because /dev/md/1 is raid1 and consists of
/dev/ide/host0/bus1/target1/lun0/part1 and
/dev/ide/host0/bus0/target1/lun0/part1. Output of pvscan:
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/md/1" of VG "mirror" [55.91 GB / 13.89 GB free]
pvscan -- inactive PV "/dev/ide/host0/bus1/target1/lun0/part1" is in EXPORTED VG "mirror" [55.91 GB / 13.89 GB free]
pvscan -- inactive PV "/dev/ide/host0/bus0/target1/lun0/part1" is in EXPORTED VG "mirror" [55.91 GB / 13.89 GB free]
pvscan -- total: 6 [311.82 GB] / in use: 5 [290.79 GB] / in no VG: 1 [21.03 GB]
(some lines removed)
I run kernel 2.4.16 and LVM-tools from today's CVS.
Btw, during the original repairing I saw a situation where one of my
volume groups (archive) was twice in /proc/lvm/global. That's not
healthy, is it? I imagine it had something to do with the fact that
after scanning volume group "archive" it failed to scan volume group
"mirror" (due to the reuse-problem), and I kept trying different
stuff..
--
_____________________________________________________________________
/ __// /__ ____ __ Erkki Sepp�l�\ \
/ /_ / // // /\ \/ //ircnet Modeemi Ry\ /
/_/ /_/ \___/ /_/\_\@modeemi.fi http://www.modeemi.fi/~flux/
next reply other threads:[~2002-02-22 19:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-22 19:55 Erkki Seppala [this message]
2002-02-23 4:47 ` [linux-lvm] bug: raid1 sub-devices are scanned too Heinz J . Mauelshagen
2002-02-23 4:55 ` Heinz J . Mauelshagen
2002-02-24 16:17 ` Erkki Seppala
2002-02-25 3:52 ` Heinz J . 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=20020223015504.GA828@xulfad.ton.tut.fi \
--to=flux-lvm@inside.org \
--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