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

Setting file modification times does not work #120

Closed
EchterAgo opened this issue Jun 8, 2023 · 1 comment
Closed

Setting file modification times does not work #120

EchterAgo opened this issue Jun 8, 2023 · 1 comment

Comments

@EchterAgo
Copy link

EchterAgo commented Jun 8, 2023

When transferring files to ZFS using rclone sync I noticed that it keeps rechecking files and tries updating the modification time for ever yime each time you start the sync again. Investigating this I found that the modification time is not actually updated. I managed to also reproduce this using the touch command in an MSYS2 shell.

When diagnosing this with Process Monitor I saw this:

image

This seems to point to set_file_basic_information returning 0x84 (EOVERFLOW), which seems to come from the TIMESPEC_OVERFLOW check in zfs_setattr.

I found #104 (comment) which indicates that the check is a "relic" but it still exists in the current release.

Any ideas, am I doing something wrong? The pool was created using zpool create -o ashift=12 -O atime=off -O compression=lz4 -O recordsize=1MB -O casesensitivity=insensitive Data raidz1 PHYSICALDRIVE5 PHYSICALDRIVE6 PHYSICALDRIVE7 PHYSICALDRIVE8 cache PHYSICALDRIVE1 PHYSICALDRIVE3 (also tried with atime=on)

I'll try removing the checks and compiling the module, but I need to get the development environment set up first, but I hope to have more info soon.

@EchterAgo
Copy link
Author

Sorry, wrong repository.

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

No branches or pull requests

1 participant