[sheepdog-users] clear object cache

Liu Yuan namei.unix at gmail.com
Tue Aug 19 05:57:34 CEST 2014


On Mon, Aug 18, 2014 at 11:59:00PM +0400, Maxim Terletskiy wrote:
> I'm going to return node in cluster after some repair. This node
> died from power loss and VMs were restarted and working now on other
> hosts. I'm afraid to corrupt my data because of old object cache.
> What is the best way to drop object cache before starting sheep
> process?

After back into the cluster, you can try following steps on the repaired node:

1. dog vdi cache info # if there are data cached

for every cached vdi, 
 2. dog vdi cache flush xxx
 3. dog vdi cache delete xxx

Then you can restart your VM anywhere you like.

Thanks
Yuan



More information about the sheepdog-users mailing list