[Sheepdog] questions about qemu-img and sheepdog
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Mon Jan 17 12:45:08 CET 2011
At Wed, 12 Jan 2011 21:17:25 +0800,
jidalyg_8711 wrote:
> Thanks your reply!
>
> I'll try it again.
>
> Some other questions:
> 1,The base image need to be a snapshot ? Why can't be a raw image?
> For local disk images ,The following commands worked well:
> $ qemu-img -b debian-base.img -f qcow2 debian_inc.img
To simplify the implementation of Sheepdog. I guess there is no
technical problem to use a file image as a backing file of a Sheepdog
vdi. If there are many requests for the feature, I'm not against to
support it.
>
> 2, I have do somethings and I found the following output:
>
> [root at sim92 store_dir]# collie cluster info
> Waiting for other nodes joining
> Ctime Epoch Nodes
> 2011-01-11 14:07:26 12 [10.60.1.93:7000, 10.60.1.92:7000, 10.60.1.94:7000]
>
> And I can't use the sheepdog now . Why this happened ?
I think you stopped Sheepdog without running 'collie cluster shutdown'.
If so, see
http://lists.wpkg.org/pipermail/sheepdog/2011-January/000827.html
to fix the cluster state.
Thanks,
Kazutaka
>
> Thanks you very much !
>
> yaronli
> 2011-01-12
>
>
>
> 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
> [1.2 <text/html; gb2312 (base64)>]
>
> [2 <text/plain; us-ascii (7bit)>]
> --
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog
More information about the sheepdog
mailing list