[sheepdog-users] Impossible to run sheep on existing journal

Valerio Pachera sirio81 at gmail.com
Tue Dec 18 13:56:32 CET 2012


sheep -j dir=/mnt/sdb1/sdj,size=512 -w object:size=20000 /mnt/sheepdog/

If I stop the daemon on this node and try to run it again later, it
doesn't start.
If I remove the content of the journal dir, it starts.

>From sheep.log:
Dec 18 13:51:07 [main] jrnl_recover(230) opening the directory
/mnt/sheepdog/journal/
Dec 18 13:51:07 [main] jrnl_recover(235) starting journal recovery
Dec 18 13:51:07 [main] jrnl_recover(291) journal recovery complete
Dec 18 13:51:07 [main] send_join_request(1014) IPv4 ip:192.168.2.41 port:7000
Dec 18 13:51:08 [main] replay_journal_entry(147) open No such file or directory
Dec 18 13:51:08 [main] crash_handler(324) sheep pid 32149 exited unexpectedly.

Dec 18 13:52:18 [main] jrnl_recover(230) opening the directory
/mnt/sheepdog/journal/
Dec 18 13:52:18 [main] jrnl_recover(235) starting journal recovery
Dec 18 13:52:18 [main] jrnl_recover(291) journal recovery complete
Dec 18 13:52:18 [main] send_join_request(1014) IPv4 ip:192.168.2.41 port:7000
Dec 18 13:52:18 [main] main(616) sheepdog daemon (version
0.5.5_6_gb3f888b) started
Dec 18 13:52:18 [main] update_cluster_info(799) status = 1, epoch = 6,
finished: 0
Dec 18 13:52:18 [rw 2] recover_object_work(198) done:0 count:2,
oid:7c2b2500000021
Dec 18 13:52:18 [rw 3] recover_object_work(198) done:1 count:2,
oid:807c2b2500000000
Dec 18 13:52:18 [main] queue_cluster_request(315) COMPLETE_RECOVERY (0xa80010)



More information about the sheepdog-users mailing list