Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing zetaback erroring out when receiving FS is modified #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

crazzy
Copy link

@crazzy crazzy commented Jun 24, 2014

I've ran into this error again:
http://lists.omniti.com/pipermail/zetaback-users/2013-July/000053.html

I digged a bit deeper into this and it seems that the issue here is that something on the backup server (which receives the stream) has modified the the filesystem. In our case I'll take a guess that it's a default Solaris cronjob (nfsfind).

It's a very simple patch, just adding -F to the zfs recv command which I've tested on two backup servers in our production environment with successful results, both on backup jobs which showed this error, and on other backup jobs not showing the error.

@crazzy
Copy link
Author

crazzy commented Jun 24, 2014

Did another commit containing a fix for locking issues I've encountered on Solaris 11. Zetaback didn't even try taking backups of some datasets. After debugging with truss I found out the open() call on the directory failed with EISDIR. So in order to fix this I've made zetaback lock on a file instead. This has also been tested on the backup servers in our production environment with successful results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants