[fedora-virt] porting a disk from lvm to file

Gianluca Cecchi gianluca.cecchi at gmail.com
Wed Jul 28 15:48:37 UTC 2010


Hello,
I have a virtio disk for a vm that consists of an lvm.
I would like to port this vm disk to another virtualization host that has vm
disks on file, instead.

Can I port this lvm vm-disk to file, for example with something like:

dd if=/dev/vgname/lvname of=/directory_tree/filename

and then copy "filename" to the other host and use it as a backing storage
for a vm on it?
Do I have perhaps to consider some heading for lvm metadata and skip
anything form the dd command?
Anyone already done/considered?

Thanks,
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/virt/attachments/20100728/46f46396/attachment.html 


More information about the virt mailing list