Replies: 1 comment
Yes and no, operations before fsync yes, operations after fsync, maybe.
It should be the same as a classic filesystem, fsync guarantees consistency (and for ZeroFS, a single fsync guarantees that the full system is synced), there's no guarantees for operations that are not fsynced. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm rcloning ~300MB of media files into a ZeroFS filesystem and I've hit a number of ZeroFS crashes (discussed in several issues). I've re-run rclone and it shows nothing to do; rclone checks the file size and modification times. But I've also run md5sum over all files and I do see discrepancies. The sizes and modification times of the affected files are identical but the contents evidently isn't. I surmise that these files must have gotten corrupt as an effect of one of the ZeroFS crashes? This leads me to the following questions:
EDIT: it actually doesn't look like rclone uses a temp file with rename when the back-end is SFTP, hmmm. I think the questions are still of value, though.
All reactions