[sheepdog-users] recovery VS vdi check

Valerio Pachera sirio81 at gmail.com
Tue Sep 2 12:21:36 CEST 2014


2014-09-02 3:55 GMT+02:00 Liu Yuan <namei.unix at gmail.com>:

> > At the end of the recovery, do I have to run also vdi check or the
> recovery
> > itself is checking if everything is ok?
>
> No, you can grep the log for 'failed to recover' if any object is lost.
>

Hi, thank you for the answer.
After the recovery, I run dog vdi check on a small (10G) vdi and it fixed a
couple of objects.
I guess these objects were missing one copy.
In case of 'failed to recover' it means the object can't be found on any of
the node.
That would really  bad because there's no way to fix it.

Note: I checked on my node logs
  grep -i 'failed to recover' /var/lib/sheepdog/sheep.log*
No errors found.

So I guess it's better to run vdi check in a case like this.
It will take time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20140902/4b8c299b/attachment-0005.html>


More information about the sheepdog-users mailing list