[sheepdog] sheep daemon, custom unix socket location

MORITA Kazutaka morita.kazutaka at gmail.com
Wed Jun 12 14:13:07 CEST 2013


At Tue, 11 Jun 2013 18:06:35 +0200 (CEST),
Alexandre DERUMIER wrote:
> 
> >>Creating a symlink to /var/run doesn't work for you? 
> Oh, didn't have thinked about it :/  , thanks.
> 
> 
> What is the qemu drive syntax to use unix socket ?
> 
> From doc, I have tried
> 
> -drive file=sheepdog+unix:///vm-115-disk-1?socket=/var/lib/sheepdog/sock,if=none,id=drive-virtio1,aio=native,cache=none: could not open disk image sheepdog+unix:///vm-115-disk-1?socket=/var/lib/sheepdog/sock: No such file or directory
> 
> or
> 
> -drive file=sheepdog:unix:/var/lib/sheepdog/sock:vm-115-disk-1,if=none,id=drive-virtio1,aio=native,cache=none: could not open disk image sheepdog:unix:/var/lib/sheepdog/sock:vm-115-disk-1: Socket operation on non-socket
> 
> both doesn't work. (I'm using qemu 1.4.2)

You need qemu 1.5.0 or later to use unix domain socket for sheepdog.

Thanks,

Kazutaka



More information about the sheepdog mailing list