Comments (11)
On kernel-based cifs volume borg check
works fine. On gvfs with strace(1)
attached to gvfs-fuse serving /run/user/2137/gvfs
borg works fine. Without strace(1)
it fails. From my experience this looks like some race condition in gvfs. But it is borg that is able to trigger it and that is interesting.
EDIT: borg check
running under strace(1)
also does not crash.
EVEN MORE EDIT: Even weirder is that the exception happens on the second attempt to open /run/user/2137/gvfs/smb-share:server=[snip],share=homefolder/steelman/Backup/Mail/lock.roster
after asking for the password. The first successful attempt takes place right after startup.
from borg.
Your filesystem doesn't work correctly.
borg does a file "open" and the fs responds with:
OSError: [Errno 95] Operation not supported
from borg.
#7937 also had this issue.
from borg.
Indeed it looks very similar. However, it needs to be noted that:
a) it happens only with borg check
and not with borg create
b) I can open()
files for writing on this file system (especially inside the borg repository) without any problems.
from borg.
You can try to reproduce this on a local filesystem to see whether it only happens on cifs.
"not supported" as error response to "open()" is weird.
from borg.
Oh, and try without that "gvfs" and just do a normal cifs mount and try with that also.
from borg.
I played with touch(1)
and strace(1)
. The former randomly fails to create files in /run/user/2137/gvfs/smb-share:server=[snip],share=homefolder/steelman/Backup/Mail/
(with EOPNOTSUPP
) so it seems there is little chance this isn't a fault of gvfs. I will keep investigating.
EDIT: No, it's not at random. openat(2)
sets errno
to EOPNOTSUPP
when the file to be created exists. The first call succeeds:
openat(AT_FDCWD, "/run/user/2137/gvfs/smb-share:server=[snip],share=homefolder/steelman/Backup/Mail/__test__", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK, 0666) = 3
consequent fail:
openat(AT_FDCWD, "/run/user/2137/gvfs/smb-share:server=[snip],share=homefolder/steelman/Backup/Mail/__test__", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK, 0666) = -1 EOPNOTSUPP (Operation not supported)
from borg.
OK, so guess this is a gvfs bug? Or is borg doing something wrong or unusual?
from borg.
It looks like a gvfs bug to me, but this is just like, my opinion. I will find out.
from borg.
Guess this is a gvfs bug.
from borg.
Indeed, I still haven't found out why it occurs but at least borg stopped triggering for me.
from borg.
Related Issues (20)
- Borg on windows (ssh) crashes with FD exception error HOT 5
- [2.0.0b9] archive stats always 0 HOT 2
- `borg mount` does not show return code HOT 5
- [ feature request ] Single binary. No depenencies. Migrate to Rust or Go. HOT 5
- document TIMESPAN HOT 2
- Restore after new OS installation HOT 2
- implement a requirements check somehow? HOT 1
- include stricter shell as recommended ssh configuration HOT 4
- Checkpoint archive name longer than cli argument validator allows HOT 4
- Pure python msgpack is used on ubuntu, while "fast" version seems available HOT 8
- 2.0.0b9 : `borg compact` not freeing space? HOT 4
- Borg taking 2 days to complete backup as it is Replaying segments HOT 11
- updating / upgrading beta versions HOT 7
- borgstore: a key/value store in python - maybe for borg2? HOT 2
- Full backup space in Hetzner Storage Box HOT 3
- Cancelled `borg info` invalidates cache, causing expensive sync on next operation HOT 4
- process of setting up borg in pull mode HOT 1
- Set uid:gid at extraction or archive creation time? HOT 5
- remove adhoc cache after adhoc-with-files cache has proven itself HOT 1
- Docs suggestion: pydantic models for borg's JSON output HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from borg.