[sheepdog] Call to sd_truncate()
Hadrien KOHL
hadrien.kohl at gmail.com
Fri Dec 13 14:16:28 CET 2013
The output of the command qemu-img shows:
qemu-img version 1.7.0, Copyright (c) 2004-2008 Fabrice Bellard
usage: qemu-img command [command options]
I made another test with the same distribution and I got the same problem.
I guess something is wrong with my installation then.
2013/12/13 Liu Yuan <namei.unix at gmail.com>
> On Thu, Dec 12, 2013 at 11:35:50PM +0100, Hadrien KOHL wrote:
> > 2013/12/12 Liu Yuan <namei.unix at gmail.com>
> >
> > > On Thu, Dec 12, 2013 at 05:29:13PM +0100, Hadrien KOHL wrote:
> > > > I am using the latest version of qemu (tag v1.7.0). I compiled myself
> > > today
> > > > to be sure. What version of sheepdog were you using? I think I
> compiled
> > > the
> > > > tag v0.7.5.
> > > >
> > > > Did you use the same parameters to start the virtual machine? I'm
> > > > suspecting virtio to be a problem.
> > > > I will make some more test tomorrow.
> > > >
> > >
> > > I am running latest sheepdog, but I think sheepdog version is
> irrelevant.
> > > The
> > > only difference is how I started the VM, I did it as following:
> > >
> > > yliu at ubuntu-precise:~/sheepdog$ qemu-system-x86_64 -drive
> > > file=sheepdog:test,if=virtio,format=qcow2,cache=writeback --enable-kvm
> -m
> > > 1024 -cdrom ../isos/ubuntu-12.04.2-desktop-amd64.iso
> > >
> >
> > Weird. I just gave it a try with the exact same command, and I got the
> same
> > error. The only differencesI see know are the hardware we are running the
> > qemu application. The distribution used (kernel).
> >
> > I also noticed one thing, the output of your command qemu-img info
> > sheepdog:test returns the size of the disk. Mine doesn't:
> >
> > # qemu-img info sheepdog:test
> > image: sheepdog:test
> > file format: qcow2
> > virtual size: 10G (10737418240 bytes)
> > disk size: unavailable
> > cluster_size: 65536
> > Format specific information:
> > compat: 1.1
> > lazy refcounts: false
> >
> > I will test with the same distribution.
>
> This means you are actually running the old QEMU than v1.7
>
> Thanks
> Yuan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20131213/68739112/attachment-0004.html>
More information about the sheepdog
mailing list