[Sheepdog] Small sheepdog howto

PCextreme B.V. - Wido den Hollander wido at pcextreme.nl
Mon Jan 25 16:38:44 CET 2010


Hi,

I just changed the port numbers and started to get:

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.


-- 
Met vriendelijke groet,

Wido den Hollander
Hoofd Systeembeheer / CSO
Telefoon Support Nederland: 0900 9633 (45 cpm)
Telefoon Support België: 0900 70312 (45 cpm)
Telefoon Direct: (+31) (0)20 50 60 104
Fax: +31 (0)20 50 60 111
E-mail: support at pcextreme.nl
Website: http://www.pcextreme.nl
Kennisbank: http://support.pcextreme.nl/
Netwerkstatus: http://nmc.pcextreme.nl


On Mon, 2010-01-25 at 15:25 +0000, Wido den Hollander wrote:
> Hi,
> 
> I've just setup Sheepdog on four Ubuntu 9.10 AMD64 machines and wanted
> to start testing it.
> 
> But i can't get the nodes to work ok, this is what i have done:
> 
> * Compiled sheepdog in /opt/sheepdog
> * Compiled the patched qemu-kvm in /opt/qemu-kvm
> * Configured corosync with:
> 
>         interface {
>                 ringnumber: 0
>                 bindnetaddr: 192.168.6.0
>                 mcastaddr: 226.94.1.1
>                 mcastport: 5405
>         }
> 
> My subnet here is 192.168.6.0/24
> 
> But when i do "shepherd info -t dog" i get:
> 
> root at wido-desktop:~# shepherd info -t dog
>   Idx	Node id (FNV-1a)    - Host:Port
> --------------------------------------------------
>   0	4c212f70289e9103 - 127.0.1.1:7000
>   1	4c212f70289e9103 - 127.0.1.1:7000
>   2	4c212f70289e9103 - 127.0.1.1:7000
>   3	4c212f70289e9103 - 127.0.1.1:7000
> * 4	4c212f70289e9103 - 127.0.1.1:7000
>   5	4c212f70289e9103 - 127.0.1.1:7000
>   6	4c212f70289e9103 - 127.0.1.1:7000
>   7	4c212f70289e9103 - 127.0.1.1:7000
>   8	4c212f70289e9103 - 127.0.1.1:7000
> root at wido-desktop:~#
> 
> All the nodes claim to have the same nodeid? I have used
> "start-sheepdog" to start the "collie" daemon.
> 
> On my nodes it looks like:
> 
> root at wido-desktop:~# ps aux|grep collie
> root      4492  0.0  0.0  10284   592 ?        Ss   15:11
> 0:00 /usr/src/sheepdog/collie/collie --port 7000 /srv/sheepdog/0 -d
> root      4493  0.0  0.2  65752 18132 ?        Ssl  15:11
> 0:00 /usr/src/sheepdog/collie/collie --port 7000 /srv/sheepdog/0 -d
> root      4730  0.0  0.0   7336   888 pts/0    S+   16:18   0:00 grep
> collie
> root at wido-desktop:~#
> 
> So they see eachother, but all bind to 127.0.1.1:7000? I think i am
> missing something here.
> 
> Would somebody be so kind to share a corosync.conf for review? I think i
> am making a mistake there.
> 
> When i do:
> 
> shepherd mkfs --copies=3
> 
> It doesn't return any output.
> 
> collie segfaults with:
> [12279.751092] collie[4812]: segfault at 3 ip 0000000000000003 sp
> 00007f34d5945fb8 error 14 in collie[400000+e000]
> 
> When i run collie on forground mode it doesn't segfault, and gives the
> following output:
> 
> collie: worker_routine(175) started this thread 0
> collie: worker_routine(175) started this thread 0
> collie: worker_routine(175) started this thread 0
> collie: worker_routine(175) started this thread 0
> collie: sd_confch(653) confchg nodeid 1cb8d44
> collie: sd_confch(655) 1 0 1
> collie: sd_confch(659) [0] node_id: 30117188, pid: 4853, reason:
> -1138069504
> collie: sd_deliver(532) op: 1, done: 0, size: 41056, from:
> 127.0.1.1:7000
> collie: __sd_deliver(468) op: 1, done: 0, size: 41056, from:
> 127.0.1.1:7000
> collie: sd_deliver(532) op: 1, done: 1, size: 41056, from:
> 127.0.1.1:7000
> collie: __sd_deliver(468) op: 1, done: 1, size: 41056, from:
> 127.0.1.1:7000
> collie: print_node_list(244) l nodeid: 1cb8d44, pid: 4853, ip:
> 127.0.1.1:7000
> collie: listen_handler(336) accepted a new connection, 8
> collie: cluster_queue_request(177) 0x1abf940 19
> collie: client_handler(297) closed a connection, 8
> collie: listen_handler(336) accepted a new connection, 8
> collie: cluster_queue_request(177) 0x1abf850 21
> collie: sd_deliver(532) op: 2, done: 0, size: 136, from: 127.0.1.1:7000
> collie: __sd_deliver(468) op: 2, done: 0, size: 136, from:
> 127.0.1.1:7000
> collie: listen_handler(336) accepted a new connection, 10
> collie: client_handler(297) closed a connection, 10
> collie: listen_handler(336) accepted a new connection, 10
> collie: client_handler(297) closed a connection, 10
> collie: listen_handler(336) accepted a new connection, 10
> collie: client_handler(297) closed a connection, 10
> collie: sd_deliver(532) op: 2, done: 1, size: 136, from: 127.0.1.1:7000
> collie: __sd_deliver(468) op: 2, done: 1, size: 136, from:
> 127.0.1.1:7000
> collie: vdi_op_done(438) 3
> collie: client_handler(297) closed a connection, 8
> 
> This morning i had sheepdog running on one node and it worked fine, i
> had a KVM VM running on top of it without any troubles.
> 
> I made a checkout of the GIT repository this morning, so i am using the
> latest version.
> 
> Any idea?
> 
> 
> -- 
> Met vriendelijke groet,
> 
> Wido den Hollander
> Hoofd Systeembeheer / CSO
> Telefoon Support Nederland: 0900 9633 (45 cpm)
> Telefoon Support België: 0900 70312 (45 cpm)
> Telefoon Direct: (+31) (0)20 50 60 104
> Fax: +31 (0)20 50 60 111
> E-mail: support at pcextreme.nl
> Website: http://www.pcextreme.nl
> Kennisbank: http://support.pcextreme.nl/
> Netwerkstatus: http://nmc.pcextreme.nl
> 
> 
> 
-------------- next part --------------
execve("/opt/sheepdog/sbin/shepherd", ["shepherd", "mkfs", "--copies=3"], [/* 18 vars */]) = 0
brk(0)                                  = 0x1c54000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf608be000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf608bc000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=102236, ...}) = 0
mmap(NULL, 102236, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fdf608a3000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \n\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=274360, ...}) = 0
mmap(NULL, 2371072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdf6045e000
mprotect(0x7fdf6049c000, 2097152, PROT_NONE) = 0
mmap(0x7fdf6069c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3e000) = 0x7fdf6069c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\353\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1490312, ...}) = 0
mmap(NULL, 3598344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdf600ef000
mprotect(0x7fdf60255000, 2093056, PROT_NONE) = 0
mmap(0x7fdf60454000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x165000) = 0x7fdf60454000
mmap(0x7fdf60459000, 18440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fdf60459000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14696, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf608a2000
mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdf5feeb000
mprotect(0x7fdf5feed000, 2097152, PROT_NONE) = 0
mmap(0x7fdf600ed000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fdf600ed000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf608a1000
arch_prctl(ARCH_SET_FS, 0x7fdf608a16f0) = 0
mprotect(0x7fdf600ed000, 4096, PROT_READ) = 0
mprotect(0x7fdf60454000, 16384, PROT_READ) = 0
mprotect(0x7fdf6069c000, 16384, PROT_READ) = 0
mprotect(0x608000, 4096, PROT_READ)     = 0
mprotect(0x7fdf608bf000, 4096, PROT_READ) = 0
munmap(0x7fdf608a3000, 102236)          = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
brk(0)                                  = 0x1c54000
brk(0x1c75000)                          = 0x1c75000
stat("/home/employee/wido/.terminfo", 0x7fffb61fb840) = -1 ENOENT (No such file or directory)
stat("/etc/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/etc/terminfo/x/xterm", R_OK)   = -1 ENOENT (No such file or directory)
stat("/lib/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/lib/terminfo/x/xterm", R_OK)   = 0
open("/lib/terminfo/x/xterm", O_RDONLY) = 3
read(3, "\32\1\34\0\35\0\17\0\235\1&\5xterm|X11 terminal e"..., 4097) = 2244
close(3)                                = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=55, ws_col=237, ws_xpixel=0, ws_ypixel=0}) = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 3
bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, pid=4960, groups=00000000}, [6922020944957407244]) = 0
sendto(3, "\24\0\0\0\26\0\1\3\351\270]K\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\351\270]K`\23\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 168
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\351\270]K`\23\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 128
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\351\270]K`\23\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(3)                                = 0
socket(PF_FILE, 0x80801 /* SOCK_??? */, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
socket(PF_FILE, 0x80801 /* SOCK_??? */, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=521, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf608bb000
read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 521
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fdf608bb000, 4096)            = 0
open("/etc/host.conf", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf608bb000
read(3, "# The \"order\" line is only used "..., 4096) = 92
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fdf608bb000, 4096)            = 0
getpid()                                = 4960
open("/etc/resolv.conf", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf608bb000
read(3, "# Generated by NetworkManager\ndo"..., 4096) = 118
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fdf608bb000, 4096)            = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=102236, ...}) = 0
mmap(NULL, 102236, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fdf608a3000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=51712, ...}) = 0
mmap(NULL, 2147720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fdf5fcde000
mprotect(0x7fdf5fcea000, 2093056, PROT_NONE) = 0
mmap(0x7fdf5fee9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7fdf5fee9000
close(3)                                = 0
mprotect(0x7fdf5fee9000, 4096, PROT_READ) = 0
munmap(0x7fdf608a3000, 102236)          = 0
open("/etc/hosts", O_RDONLY|O_CLOEXEC)  = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(3, {st_mode=S_IFREG|0644, st_size=258, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf608bb000
read(3, "127.0.0.1\tlocalhost\n127.0.1.1\twi"..., 4096) = 258
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fdf608bb000, 4096)            = 0
open("/etc/gai.conf", O_RDONLY)         = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2689, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=2689, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf608bb000
read(3, "# Configuration for getaddrinfo("..., 4096) = 2689
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fdf608bb000, 4096)            = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(7000), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
getsockname(3, {sa_family=AF_INET, sin_port=htons(38653), sin_addr=inet_addr("127.0.0.1")}, [8589934608]) = 0
close(3)                                = 0
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(7000), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(3, {sa_family=AF_INET6, sin6_port=htons(36620), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [8589934620]) = 0
close(3)                                = 0
socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(7000), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
sendmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\0\31\0\0\0\0\0\0\0\0\0\0\0\200\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 48}], msg_controllen=0, msg_flags=0}, 0) = 48
read(3, "\0\31\0\0\32\0\0\0\0\0\0\0\200\0\0\0\0\0\0\0\4\0\0\0\1\0\0\0\1\0\0\0"..., 48) = 48
read(3, "&&\361\23f\362L<\0\0\0\0\0\0\0\0\0\0\0\0\177\0\1\1Y\33\0\0\0\0\0\0"..., 128) = 128
close(3)                                = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 3
bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, pid=4960, groups=00000000}, [13123429184615481356]) = 0
sendto(3, "\24\0\0\0\26\0\1\3\351\270]K\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\351\270]K`\23\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 168
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\351\270]K`\23\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 128
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\351\270]K`\23\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(3)                                = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
open("/etc/resolv.conf", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf608bb000
read(3, "# Generated by NetworkManager\ndo"..., 4096) = 118
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fdf608bb000, 4096)            = 0
open("/etc/hosts", O_RDONLY|O_CLOEXEC)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=258, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf608bb000
read(3, "127.0.0.1\tlocalhost\n127.0.1.1\twi"..., 4096) = 258
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fdf608bb000, 4096)            = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(7000), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
getsockname(3, {sa_family=AF_INET, sin_port=htons(46571), sin_addr=inet_addr("127.0.0.1")}, [8589934608]) = 0
close(3)                                = 0
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(7000), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(3, {sa_family=AF_INET6, sin6_port=htons(33846), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [8589934620]) = 0
close(3)                                = 0
socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(7000), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
sendmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\0!\0\0\32\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 48}], msg_controllen=0, msg_flags=0}, 0) = 48
read(3, "\0!\0\0\32\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 48) = 48
close(3)                                = 0
write(2, "unknown error\n", 14)         = 14
exit_group(0)                           = ?


More information about the sheepdog mailing list