* [linux-lvm] How to activate a vg or lv with same name as active one
@ 2002-08-12 4:03 Frank Matthieß
2002-08-12 8:06 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 2+ messages in thread
From: Frank Matthieß @ 2002-08-12 4:03 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] How to activate a vg or lv with same name as active one
2002-08-12 4:03 [linux-lvm] How to activate a vg or lv with same name as active one Frank Matthieß
@ 2002-08-12 8:06 ` Heinz J . Mauelshagen
0 siblings, 0 replies; 2+ messages in thread
From: Heinz J . Mauelshagen @ 2002-08-12 8:06 UTC (permalink / raw)
To: linux-lvm
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-12 8:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-12 4:03 [linux-lvm] How to activate a vg or lv with same name as active one Frank Matthieß
2002-08-12 8:06 ` Heinz J . Mauelshagen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.