[sheepdog] Call to sd_truncate()

Hadrien KOHL hadrien.kohl at gmail.com
Thu Dec 12 23:35:50 CET 2013


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.


>
> Thanks
> Yuan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20131212/abe304c6/attachment-0004.html>


More information about the sheepdog mailing list