[CentOS] Moving LVM from one machine to another

Stephen Harris lists at spuddy.org
Sat Jan 9 13:40:01 UTC 2010


On Sat, Jan 09, 2010 at 08:32:51AM -0500, Robert Heller wrote:
> At Sat, 9 Jan 2010 08:17:11 -0500 CentOS mailing list <centos at centos.org> wrote:

> > > > time.  I was able to "vgscan" and 'vgchange -a y' to bring the volume
> > > > online and then fsck the logical volumes.
> > > > 
> > > > But I was concerned this didn't happen at boot time.  Do I need to do
> > > > anything else, or have the commands I've run done sufficient?

> You do a "vgscan" and 'vgchange -a y' manually.  This should put the
> right stuff in /etc/lvm/.

That's what I hoped :-)  Now the resync has finished I'm gonna try a
reboot and see what  happens!

Thanks!

> It is rare/unusual to 'add' LVM volumns to a running system from some
> 'outside' source (as you did via a disk transplant).  Linux installers

Typically it's meant to be done with vgexport/vgimport, but in a DR
situation...

-- 

rgds
Stephen


More information about the CentOS mailing list