[sheepdog-users] clear object cache
namei.unix at gmail.com
Tue Aug 19 08:58:39 CEST 2014
On Tue, Aug 19, 2014 at 08:41:08AM +0200, Valerio Pachera wrote:
> 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!
Ah, yes, we can't flush the dirty cache back.
> 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).
> If sheep was running with these options on the disconnecter node
> sheep -n /var/lib/sheepdog,/mnt/sheep/0,/mnt/sheep1
> rm -r /var/lib/sheepdog/*
> All the object in /mnt/sheep/0 and /mnt/sheep/1 are anyway going to be
More information about the sheepdog-users