Can I move an LVM as I can move an ISO

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


[Apologies for thread necromancy]

On Tue, Oct 05, 2010 at 09:01:36AM -0500, Serge E. Hallyn wrote:
> Quoting Tapas Mishra (mightydreams at
> > 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:

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.


-- -- 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: <>

More information about the ubuntu-server mailing list