[sheepdog-users] 答复: the windows 2003 server will cannot bootup before i reboot sheepdog

redtone kelphon at redtone.hk
Tue Dec 17 13:14:15 CET 2013


I have update sheepdog to v0.7.6-rc0
And update qemu to latest version v1.7.50

The windows guest cannot booted up. I also found centos 6.4 cannot boot up.

I use qemu-img convert to dump the sheepdog disk to a raw file. 
The guest can boot up normal with the dumped raw file.
      <disk type="file">
        <driver name="qemu" type="raw" />
        <source file="/root/kvm117_os" />
        <target dev="hda" bus="virtio" />
      </disk>
But cannot boot up with sheepdog disk
    <disk type="network">
      <driver name="qemu" type="raw" io="threads" cache="writeback" />
      <source protocol="sheepdog" name="kvm117_os">
        <host name="localhost" port="7000"/>
      </source>
      <target dev="hda" bus="virtio"/>
    </disk>

Do you think about the sheepdog driver in qemu ?

-----ÓʼþÔ­¼þ-----
·¢¼þÈË: redtone [mailto:kelphon at redtone.hk] 
·¢ËÍʱ¼ä: 2013Äê12ÔÂ17ÈÕ 13:31
ÊÕ¼þÈË: 'Liu Yuan'
Ö÷Ìâ: ´ð¸´: [sheepdog-users] the windows 2003 server will cannot bootup
before i reboot sheepdog

I use raw format not qcow2

Qemu version is 1.7.0.rc2 (sheepdog support auto-reconnect)

-----ÓʼþÔ­¼þ-----
·¢¼þÈË: Liu Yuan [mailto:namei.unix at gmail.com] 
·¢ËÍʱ¼ä: 2013Äê12ÔÂ17ÈÕ 13:24
ÊÕ¼þÈË: redtone
³­ËÍ: sheepdog-users at lists.wpkg.org
Ö÷Ìâ: Re: [sheepdog-users] the windows 2003 server will cannot bootup before
i reboot sheepdog

On Tue, Dec 17, 2013 at 12:55:53PM +0800, redtone wrote:
> I run sheep in a single centos 6.4 node with 300G SSD
> 
> sheep -w size=300000,dir=/ssdcache/ /var/lib/sheepdog/
> sheep ¨Cv
> sheepdog daemon version 0.7.5
> 
> I use XML to create guest 
> 
>     <disk type="network">
>       <driver name="qemu" type="raw" io="threads" cache="writeback"/>
>       <source protocol="sheepdog" name="kvm117_os">
>         <host name="localhost" port="7000"/>
>       </source>
>       <target dev="hda" bus="ide"/>
> ¡¡¡¡</disk>
> 
> I use qemu-img convert to import my OS to sheep dog disk.

What format? raw or qcow2? I have recently fixed a issue about qcow2 over
sheepdog in qemu.

>
> But I found when I import windows 2003, the boot up will be hold by a
black screen in VNC.
> 
> I must reboot sheepdog to boot up windows 2003 normally.
> 
> After sometime the windows 2003 will be hold and cannot be booted up, need
reboot sheepdog again
> 
> I guest maybe the bus type is wrong. So I change bus type to virtio and
install the driver in 2003. the same issue will occur.

For a irrelevant suggestion that use 'virtio' as possible as you can for
better
performance and I assume you have already install virtio driver for windows

I think this is more of a issue that related to qemu. Could you please try
following QEMU repo:

https://github.com/sheepdog/qemu.git

which is rebased on latest QEMU upstream with one extra patch that deal with
qcow2 bug.

Thanks
Yuan




More information about the sheepdog-users mailing list