[linux-lvm] Moving disks

Heinz J . Mauelshagen mauelshagen at sistina.com
Wed Sep 10 05:11:01 UTC 2003


On Tue, Sep 09, 2003 at 08:41:53AM +0200, Erik Rask wrote:
> Hello all! I am running LVM (1.0.7-5 according to the Debian package
> list) on two Debian/Sid machines, that act as servers. I have now set up
> an intermediate backup system, with external SCSI disks in separate
> cabinets mirrored each night, to have a quick access backup in case of
> disk failure. These external disks, as well as the internal ones (apart
> from the root partition) are LVM. My question now is this: 
> Would it be possible to take one of those drives and connect it to another
> LVM capable host, and have it recognize the LV's on the disk? I am not
> sure of how much of the VG/LV information is stored on the disk, so I have
> not tried this. 

Erik,

if you mirror all PVs of the VG(s) while all LVs got quiesced,
you can simply attach the mirrors to another system and run
"vgscan ; vgcghange -ay" there to access the duplicated VG(s).

> RTFM's are fine, if you could include pointers to the FM's, since I have
> had problems digging this up. 
> TIA
> /Erik.
> -- 
> Erik Rask, systems administrator @ AB Strakt
> "There is no normal life. There's just life. So get on with it."
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list