linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Duplicate PV's - how does LVM choose which one to use
@ 2012-02-21  8:40 Danilo Godec
  2012-02-21 12:09 ` Alasdair G Kergon
  0 siblings, 1 reply; 6+ messages in thread
From: Danilo Godec @ 2012-02-21  8:40 UTC (permalink / raw)
  To: LVM general discussion and development

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-02-21 17:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21  8:40 [linux-lvm] Duplicate PV's - how does LVM choose which one to use Danilo Godec
2012-02-21 12:09 ` 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

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).