[sheepdog-users] Removing metadata

Liu Yuan namei.unix at gmail.com
Thu Nov 14 06:18:02 CET 2013


On Wed, Nov 13, 2013 at 08:12:47PM +0100, Valerio Pachera wrote:
> Hi considering the scenario of a cluster with 3 nodes.
> I remove a node from the cluster (dog node kill).
> 
> sheep was running with these options:
>   sheep /var/sheep,/mnt/sheep/dsk01
> 
> If I restart sheep with the same options right away, object already on this
> host will be checked but not network transfer will occur (checksumming).
> 
> What happens if, before running sheep, I empty metadata folder?
>   rm -r /var/sheep/*
> 
> Will objects on this host be "reused" anyway?

Yes, the metadata is only used to authenticate the joining node and if you purge
configuration before you join the node back, in practice it is same as you join
it directly without purging

Thanks
Yuan



More information about the sheepdog-users mailing list