From: Danilo Godec <danilo.godec@agenda.si>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] Duplicate PV's - how does LVM choose which one to use
Date: Tue, 21 Feb 2012 09:40:43 +0100 [thread overview]
Message-ID: <4F43588B.8040202@agenda.si> (raw)
Hi,
I had VG's and LV's on top of a Linux MD RAID1 array using two iSCSI
volumes. Apparently this RAID1 array wasn't started properly after a
reboot, so LVM detected two duplcate PV's (both RAID1 members had the
same PV UUID) and chose to use one of them. Unfortunately I didn't
notice it so it ran like that for a while.
I was lucky and the machine was only rebooted once, so LVM used the same
PV all the time, but what would happen on a next reboot?
How does LVM decide which one to use? Will it always choose the same one?
Thanks, Danilo
next reply other threads:[~2012-02-21 8:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-21 8:40 Danilo Godec [this message]
2012-02-21 12:09 ` [linux-lvm] Duplicate PV's - how does LVM choose which one to use Alasdair G Kergon
2012-02-21 16:35 ` Ray Morris
2012-02-21 16:43 ` Alasdair G Kergon
2012-02-21 16:49 ` Stuart D Gathman
2012-02-21 17:07 ` Alasdair G Kergon
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=4F43588B.8040202@agenda.si \
--to=danilo.godec@agenda.si \
--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.