[Sheepdog] questions about qemu-img and sheepdog
morita.kazutaka at lab.ntt.co.jp
Mon Jan 17 12:54:57 CET 2011
At Thu, 13 Jan 2011 13:18:37 +0800,
> 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 ?
Sorry, I couldn't produce the problem. What is written in the log
file 'sheep.log' when the problem happens?
> Thank you very much
> 发件人： 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:
> [1.2 <text/html; gb2312 (base64)>]
> [2 <text/plain; us-ascii (7bit)>]
> sheepdog mailing list
> sheepdog at lists.wpkg.org
More information about the sheepdog