[sheepdog] About sheepdog data folder

Liu Yuan namei.unix at gmail.com
Tue Dec 4 03:38:12 CET 2012


On 12/04/2012 02:11 AM, Bruno Silva wrote:
> Hello,
> 
>  
> 
>            I'm trying to install the newest sheepdog version 0.4.0 but i
> have found an issue related to sheepdog store folder.
> 

Well, you are actually using the latest master from git repo.
>  
> 
> This command executes without problems.
> 
>  
> 
> sheep -fo
> 
> [main] jrnl_recover(230) opening the directory /tmp/journal/
> [main] jrnl_recover(235) starting journal recovery
> [main] jrnl_recover(291) journal recovery complete
> [main] send_join_request(1014) IPv4 ip:192.168.1.101 port:7000
> [main] main(579) sheepdog daemon (version 0.5.4_18_g10cd6ee) started
> [main] update_cluster_info(799) status = 2, epoch = 0, finished: 0
> 
>  
> 
> So, the user data is stored in /var/lib/sheepdog.
> 
>  
> 
> However, when I try to use the following command, this error occurs.
> 
>  
> 
> sheep –fo /home/cloud/sheepdogStorageFolder
> 
> [main] jrnl_recover(230) opening the directory sheepdogStorage//journal/

you actually didn't specify the full path. I guess you actually started
sheep as 'sheep -fo sheepdogStorage'.

I am going to cook a patch to allow working directory.

Thanks,
Yuan
> [main] jrnl_recover(235) starting journal recovery
> [main] jrnl_recover(291) journal recovery complete
> [main] send_join_request(1014) IPv4 ip:192.168.1.101 port:7000
> [main] main(579) sheepdog daemon (version 0.5.4_18_g10cd6ee) started
> [main] get_latest_epoch(148) failed to get the latest epoch: No such
> file or directory
> Aborted (core dumped)
> 
>  

Is there any core dumped file? If yes, please execute following command
and paste the output:

$ gdb /path/to/sheep /path/to/core_dump_file

Thanks,
Yuan



More information about the sheepdog mailing list