> On Sat, 7 Jun 2014 12:33:52 +0100
> Richard W.M. Jones wrote:
>
> > any machine you create on a tmpfs is a throwaway
> > one, whether you intended that or not!
>
> That depends on if you migrate it off tmpfs to
> hard disk once all the I/O involved in doing
> an install is finished :-).
Indeed. Please note there is a potential trap here. If you just 'cp'
the guest to another disk and immediately boot it with cache=none,
then qemu might see a corrupt disk. You have to sync the disk after
the copy. Easiest way is to use 'dd' to copy the disk, w/ option
conv=fsync.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
_______________________________________________
virt mailing list
virt@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/virt
No comments:
Post a Comment