All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Two drives with the same UUID
@ 2003-01-10 15:38 lvm
  2003-01-13  5:05 ` Fabian Herschel
  0 siblings, 1 reply; 2+ messages in thread
From: lvm @ 2003-01-10 15:38 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

If I had a system with a functional LVM configuration (1.0.6ish) and I
were to "duplicate" the drive in it (i.e. dd if=/dev/sda of=/dev/sdb)
and then try to boot that system (with both drives installed and
functional), what would happen?

Of course, because I am asking, I have tried it.  :-)  During boot LVM
failed to find any logical volumes.  Is this expected?  It's not
surprising mind you, but I wonder how it was designed to deal with
this situation.

b.

-- 
Brian J. Murrell

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [linux-lvm] Two drives with the same UUID
  2003-01-10 15:38 [linux-lvm] Two drives with the same UUID lvm
@ 2003-01-13  5:05 ` Fabian Herschel
  0 siblings, 0 replies; 2+ messages in thread
From: Fabian Herschel @ 2003-01-13  5:05 UTC (permalink / raw)
  To: linux-lvm, lvm

On Friday 10 January 2003 22:38, lvm@interlinx.bc.ca wrote:
> If I had a system with a functional LVM configuration (1.0.6ish) and I
> were to "duplicate" the drive in it (i.e. dd if=/dev/sda of=/dev/sdb)
> and then try to boot that system (with both drives installed and
> functional), what would happen?
>
> Of course, because I am asking, I have tried it.  :-)  During boot LVM
> failed to find any logical volumes.  Is this expected?  It's not
> surprising mind you, but I wonder how it was designed to deal with
> this situation.

Sorry, but this is a normal reaction of the logical volume manager. Why?
Each "normal" volume manager uses a special part of the disk device (or a
special part of a partition) to identify the physical media. If you copy the
complete disk, you also copy this unique identifier. So LVM get confused
to find a media twice.

Best regards
Fabian Herschel
>
> b.

----------------------------------------
Content-Type: application/pgp-signature; charset="us-ascii"; 
name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

-- 
<Fabian.Herschel@suse.de>
SuSE Linux AG * Mergenthalerallee 45-47 * D-65760 Eschborn
Tel: +49-6196-50951-23 * Fax: +49-6196-409-607
http://www.suse.de * Alice Homepage: http://www.suse.de/~fabian

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

end of thread, other threads:[~2003-01-13  5:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10 15:38 [linux-lvm] Two drives with the same UUID lvm
2003-01-13  5:05 ` Fabian Herschel

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.