On 24/02/14 12:27, kenneth wrote:
> 1. Yes, we can have deferred and hot snapshot. Deferred means backup is
> done when you shutdown the VM, hot means a live snapshot.
> 2. I haven't tested it yet, but you can manually zip an image. If you
> saved it as qcow2 and it is empty, file size is small.

I've noticed that qemu-img; when it creates a raw image, tends to use
filesystem "holes" to do so...

> stuartl@rikishi /tmp $ qemu-img create -f raw testimg.raw 163840M
> Formatting 'testimg.raw', fmt=raw size=171798691840 
> stuartl@rikishi /tmp $ ls -lh testimg.raw 
> -rw-r--r-- 1 stuartl stuartl 160G Feb 25 12:28 testimg.raw
> stuartl@rikishi /tmp $ du -hs testimg.raw 
> 0       testimg.raw
-- 
Stuart Longland
Systems Engineer
     _ ___
\  /|_) |                           T: +61 7 3535 9619
 \/ | \ |     38b Douglas Street    F: +61 7 3535 9699
   SYSTEMS    Milton QLD 4064       http://www.vrt.com.au


_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to