All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Export an LV?
@ 2005-06-27 23:59 Jason Heiss
  2005-06-28 13:48 ` Stefan Paletta
  2005-06-28 14:47 ` Alasdair G Kergon
  0 siblings, 2 replies; 4+ messages in thread
From: Jason Heiss @ 2005-06-27 23:59 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

OK, having looked through the code for vgreduce it's clear that the
important parts of the --removemissing code aren't getting called for
some reason.  Probably some sort of bug, I'll try to look at it later if
I get a chance.

In the meantime, I've put the two drives for the LV I'm trying to move
back into my server.  Now I'd like to find out if there is a right way
to move an LV to another machine.  As before I've got a VG with two
LVs.  One LV is on one physical drive, the other LV is spread over two
drives.  I'd like to move the second LV to another system.  I don't see
an obvious way to do that.  vgexport/vgimport would allow me to move the
entire VG, but I don't want to do that.  I could use vgreduce to kick
the two associated physical volumes out of the VG, but I don't see any
way to reconstruct the volume on the new machine with my data intact.
Is there a way to do this?  (I'm guessing no, but thought I'd check.)

Jason

-- 
Jason Heiss
PGP key:  http://ofb.net/~jheiss/jheiss.pgp.txt


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Export an LV?
  2005-06-27 23:59 [linux-lvm] Export an LV? Jason Heiss
@ 2005-06-28 13:48 ` Stefan Paletta
  2005-06-28 14:47 ` Alasdair G Kergon
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Paletta @ 2005-06-28 13:48 UTC (permalink / raw)
  To: linux-lvm

Jason Heiss wrote/schrieb/scripsit:
>Is there a way to do this?  (I'm guessing no, but thought I'd check.)

vgsplit

-Stefan
-- 
 junior guru   SP666-RIPE     JID:stefanp@jabber.de.cw.net    SMP@IRC

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Export an LV?
  2005-06-27 23:59 [linux-lvm] Export an LV? Jason Heiss
  2005-06-28 13:48 ` Stefan Paletta
@ 2005-06-28 14:47 ` Alasdair G Kergon
  1 sibling, 0 replies; 4+ messages in thread
From: Alasdair G Kergon @ 2005-06-28 14:47 UTC (permalink / raw)
  To: LVM general discussion and development

On Mon, Jun 27, 2005 at 04:59:04PM -0700, Jason Heiss wrote:
> Now I'd like to find out if there is a right way
> to move an LV to another machine.  As before I've got a VG with two
> LVs.  One LV is on one physical drive, the other LV is spread over two
> drives.  I'd like to move the second LV to another system.  

(pvmove + ) vgsplit + vgexport + vgimport ?

Alasdair
-- 
agk@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Export an LV?
@ 2005-06-29 16:16 Jason Heiss
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Heiss @ 2005-06-29 16:16 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

Stefan Paletta wrote:
> 
> Jason Heiss wrote:
> > Is there a way to do this?  (I'm guessing no, but thought I'd check.)
> 
> vgsplit
> 

Thanks, that worked perfectly.

Jason

-- 
Jason Heiss
PGP key:  http://ofb.net/~jheiss/jheiss.pgp.txt


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-29 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-27 23:59 [linux-lvm] Export an LV? Jason Heiss
2005-06-28 13:48 ` Stefan Paletta
2005-06-28 14:47 ` Alasdair G Kergon
  -- strict thread matches above, loose matches on Subject: below --
2005-06-29 16:16 Jason Heiss

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.