[Gllug] still wondering about lvm

Bruce Richardson itsbruce at uklinux.net
Tue Mar 14 08:29:19 UTC 2006


On Tue, Mar 14, 2006 at 08:06:13AM +0000, Ken wrote:
> Another LVM question..... I was experimenting with LVM on an old machine 
> with 3 disks. The LV was spread over those platters. It's (was) working 
> great. It seems that this is the month for disk failures as one of the 3 
> is now giving bad block errors. Anyway here is my question.... If I move 
> the three disks to another machine to extract a few bits of data I'd 
> like to keep does LVM worry that hda has become hdb, hdb has become hdc 
> and hdc has become hdd or is the header (metadata) in the PV's enough 
> for LVM to find what it needs and sort itself out?

LVM cares about the UUIDs of the PVs, nothing else.  Two things to note:

1. Export the volume group (vgexport) on the original machine before you
move them, then vgimport them on the other.

2. If you have a volume group of the same name on the other machine,
this will cause you problems when you add in the extra disks.  In that
scenario, rename the volume group on the disks that will be moved
*before* you move them.


-- 
Bruce

If the universe were simple enough to be understood, we would be too
simple to understand it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20060314/dda48226/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list