-
Notifications
You must be signed in to change notification settings - Fork 171
WARNING: fsync is not supported by the data storage #230
Copy link
Copy link
Closed
Description
Output of rest-server --version
docker image: f41f6db080c5
Digest: sha256:8b806c911815e78db8a95e7d41f34780d0690eae0d75cf8a49c35c8ec3c831e3
How did you run rest-server exactly?
docker run --name "restic-server" -p 8000:8000 -v /data:/data --env "OPTIONS=--private-repos --append-only" restic/rest-server
What backend/server/service did you use to store the repository?
Expected behavior
fsync working. This is an ext4 drive (raid1 -> luks -> ext4).
Actual behavior
I get hundreds of following messages during a backup process:
WARNING: fsync is not supported by the data storage. This can lead to data loss, if the system crashes or the storage is unexpectedly disconnected.
Steps to reproduce the behavior
Don't know. I compiled a simple go program (via docker golang:alpine) and tested for f.Sync support. No error is thrown and it also runs within the same docker container without any problems.
Do you have any idea what may have caused this?
Maybe the compiled binary within the official docker image differs from my test binary? Different go versions?
Do you have an idea how to solve the issue?
Currently not. The filesystem supports fsync.
Did rest-server help you today? Did it make you happy in any way?
Restic is just awesome and I really appreciate this open source project.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels