On Tue, Dec 11, 2007 at 01:24:58PM -0800, Carl Lowenstein wrote:

Worse problem.  If your extra disk has its contents built while it is
in a USB box, can you tell LVM that /dev/sdc has become /dev/sdb
because you moved it.  Of course, the answer to this is "disk labels",
as long as you avoid having two disks each labeled "Data".

You don't need to ever tell LVM that you've moved a disk.  Well, at least
on reboot.  If you move things dynamically, you should tell lvm that the vg
is unavailable before removing the drive, and use 'pvscan' to find the
drives after you've moved them around.

It has nothing to do with disk labels.  PV writes a GUID to each partition
you tell it to manage.  The VG metadata is written to every partition in a
volume group.  Once it finds all of the partitions making a volume group,
it tracks where they are physically.

Dave


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to