[sheepdog-users] clear object cache

Valerio Pachera sirio81 at gmail.com
Tue Aug 19 08:41:08 CEST 2014


2014-08-19 5:57 GMT+02:00 Liu Yuan <namei.unix at gmail.com>:

> >VMs were restarted and working now on other
> > hosts.
>

> 2. dog vdi cache flush xxx
> 3. dog vdi cache delete xxx
> Then you can restart your VM anywhere you like.

Wait, vm are running!
Even if Maxim shut them down is better not to flush the cache.
He probably get an inconsistent vdi!

I would delete the whole metadata dir (and cache dir if elsewere).
Considering

If sheep was running with these options on the disconnecter node

sheep -n /var/lib/sheepdog,/mnt/sheep/0,/mnt/sheep1

then

rm -r /var/lib/sheepdog/*

All the object in /mnt/sheep/0 and /mnt/sheep/1 are anyway going to be
reused.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20140819/83a94eee/attachment-0005.html>


More information about the sheepdog-users mailing list