[one-users] HOWTO: various questions about open nebula

Stuart Longland stuartl at vrt.com.au
Mon Feb 24 18:29:27 PST 2014


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 at rikishi /tmp $ qemu-img create -f raw testimg.raw 163840M
> Formatting 'testimg.raw', fmt=raw size=171798691840 
> stuartl at rikishi /tmp $ ls -lh testimg.raw 
> -rw-r--r-- 1 stuartl stuartl 160G Feb 25 12:28 testimg.raw
> stuartl at 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





More information about the Users mailing list