[Sheepdog] Small sheepdog howto

Piavlo piavka at cs.bgu.ac.il
Mon Jan 25 17:04:48 CET 2010


PCextreme B.V. - Wido den Hollander wrote:
> Hi,
>
> I just changed the port numbers and started to get:
>   
Why do you need to change the port number?
Can you post the output of
corosync-cfgtool -s & corosync-cpgtool when collie listens on default
7000 port

> root at wido-desktop:~# shepherd info -t dog
>   Idx	Node id (FNV-1a)    - Host:Port
> --------------------------------------------------
> * 0	3c4cf26613f12626 - 127.0.1.1:7001
>   1	4c212f70289e9103 - 127.0.1.1:7000
>   2	71df6c9fd5773550 - 127.0.1.1:7003
>   3	f95821c88a410795 - 127.0.1.1:7002
> root at wido-desktop:~#
>
> But now mkfs still fails:
>
> root at wido-desktop:~# shepherd mkfs --copies=3
> unknown error
> root at wido-desktop:~# 
>
> I've attached a strace from the "mkfs" command.
>
> But how do i tell shepherd to connect to another port then 7000? I have
> collie listening on 7000 on one host, so i am using shepherd on that
> particular host, but i should be able to use shepherd on all the hosts i
> assume?
>
> Image creation also fails (which seems obvious):
>
> root at wido-desktop:~# /opt/qemu-kvm/bin/qemu-img create -f sheepdog
> "Wido's Disk" 10G
> Formatting 'Wido's Disk', fmt=sheepdog size=10737418240 
> do_sd_create 1270: I/O error, Wido's Disk
> qemu-img: Error while formatting
> root at wido-desktop:~#
>
> I am using ext4 on all four machines with user_xattr turned on.
>
>
>   




More information about the sheepdog mailing list