Re: [linux-lvm] How to activate a vg or lv with same name as active one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Frank,

you needed to export the volume group *before* you moved the physical devices
over to the other system :(
After the move you needed to import the volume group giving it a new name.
See vgexport(8) and vgimport(8) for this.

In case you can't move the disks back to achieve this, the only option is
to patch your metadata at the beginning of each of the physical volumes
and change all occurences of vg_sys to vg_WhatEver (hacky!).


On Mon, Aug 12, 2002 at 11:02:55AM +0200, Frank Matthieß wrote:
> Hello there,
> 
> i want to backup a disk which make some strange noise. The problem is
> that the volumegroupname (vg_sys) and the logical volumes (lv_home,
> lv_usr, lv_var) are already active and in use by the running system.
> The weak disk was remove from my home system and attach to a company
> system with a backup solution.
> 
> My first idea ist to rename the the inactive volume group vg_sys to
> vg_backup. But the man page told me that the vg must be active.
> 
> Seconf idea is to rename the lv's, but this is the same problem, isn't
> it?
> 
> How to solve this problem and to get the inactive vg active to mount the
> lv's on it?
> 
> -- 
> Frank Matthieß                                          fm@Microdata-pos.de
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

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@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux