Can I move an LVM as I can move an ISO

Andy Smith andy at bitfolk.com
Sun Apr 29 03:00:04 UTC 2012


Hello,

[Apologies for thread necromancy]

On Tue, Oct 05, 2010 at 09:01:36AM -0500, Serge E. Hallyn wrote:
> Quoting Tapas Mishra (mightydreams at gmail.com):
> > Can an LVM be copied or transferred to some remote server in a similar
> > fashion as
> > I can do with ISO.(Not asking rsync)

[...]

> There might be a nifty way of copying it as though it were a file, but
> I think I would do something like
> 
> 	dd if=/dev/mapper/myvolume of=- | ssh $remotehost dd of=newfile

You can also use something like this:

    http://theshed.hezmatt.org/lvmsync/

which has the advantage that you can do the first run from a
snapshot while the guest is running, then the final run from the
real LV with the guest shut down.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20120429/d170e0dd/attachment.pgp>


More information about the ubuntu-server mailing list