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
Backups fail with sshfs >= 3.2.0 #805
Comments
Further investigation shows that sshfs was updated from 3.0.0 to 3.2.0 and this is causing the error. I'm not sure what exactly has changes in sshfs but it's not working with BiT anymore! |
It appears the writeback caching has changed with the latest sshfs. An additional flag is required when mounting the sshfs filesystem: -o unreliable_append. I'm not sure how to submit this as an code update - please advise. |
Thanks @icedaddy. But I'd rather disable writeback cache than using something called |
Hi @Germar
Since the files on the server are only ever updated by the backup (in fact, once a file is written by BiT it is never updated since BiT stores history) then I don't see the slightly broken O_APPEND of sshfs as presenting any risk at all in this case. However, I have tested with the writeback cache disabled as you suggest and it all works perfectly also. So up to you as what fix you want to include in the BiT code. Cheers |
You're right. That shouldn't be a risk. I was in a hurry while reading it, sorry Thanks for checking... |
I'm also not aware of any other BIT issues related to this. Seems to me this isn't relevant anymore and/or was an edge case. Maybe we can close this? |
@icedaddy Can you give us feedback please if you can reproduce the problem with the latest BIT version 1.3.3 and without your patch? It seems you have discovered an edge case. Do you have an idea what could be the difference between your setup and the setup of other user not reporting this issue? I'm still not aware of other Issues related to that "problem". On the other hand I'm not deep enough into sshfs to understand the implications and technical details. But when there is no further activity here I would close the Issue in the near future. |
Will close this issue in near future if there is no new information on it. |
After running daily backups for well over a year BiT has suddenly failed a few days ago and will no longer backup. Backups are initiated via cron; stored on NAS through sshfs; system is Arch Linux; still plenty of space on the NAS; nothing has changes with the setup. Now no backups are performed and I get the following error:
Any ideas? Thanks
The text was updated successfully, but these errors were encountered: