[Sheepdog] questions about qemu-img and sheepdog
jidalyg_8711
jidalyg_8711 at 163.com
Thu Jan 13 06:18:37 CET 2011
Hi, Kazutaka
I tried your commands, it looks like work well.
But When I used the following command to start kvm-qemu with the sheepdog : debian_inc images ,the kvm-qemu later became dead
$./qemu-system-x86_64 -m 512 -hda sheepdog:debian_inc -net nic,model=e1000 -net tap -vnc 10.60.1.92:1 -monitor stdio
And I used the normal images, It worked very well
Is it the bug ?
Thank you very much
yaronli
2011-01-13
jidalyg_8711
发件人: MORITA Kazutaka
发送时间: 2011-01-12 19:50:59
收件人: jidalyg_8711
抄送: sheepdog
主题: Re: [Sheepdog] questions about qemu-img and sheepdog
At Wed, 12 Jan 2011 10:49:03 +0800,
jidalyg_8711 wrote:
>
> [1 <multipart/alternative (7bit)>]
> [1.1 <text/plain; gb2312 (base64)>]
>
> Hi, I've used the sheepdog .It is the great project!
>
> I have one question about qemu-img and sheepdog,
> Does sheepdog support the growable disk images (their size increase as non empty sectors are written),Like as :
>
> $qemu-img -b sheepdog:debian -f qcow2 sheepdog : debian_inc
A snapshot tag is missing for the base image, and you can use only a
raw format for Sheepdog.
>
> sheepdog : debian is the based image
> sheepdog : debian_inc is the increase image.
>
> I tried this command ,but failed. So how the sheepdog create the increase images?
Try the followings:
1. Create a base image
$ qemu-img convert ./image.raw sheepdog:debian
2. Take a snapshot to use as a base image
$ qemu-img snapshot -c base sheepdog:debian
3. Create a cloned image from sheepdog:debian:base
$ qemu-img create -b sheepdog:debian:base sheepdog:debian_inc
See also:
http://wiki.qemu.org/Features/Sheepdog/Getting_Started
Thanks,
Kazutaka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20110113/3ba02e17/attachment-0003.html>
More information about the sheepdog
mailing list