this post was submitted on 20 Sep 2024
1 points (100.0% liked)

It's A Digital Disease!

23 readers
1 users here now

This is a sub that aims at bringing data hoarders together to share their passion with like minded people.

founded 2 years ago
MODERATORS
 
The original post: /r/datahoarder by /u/RxBrad on 2024-09-19 21:43:57.

I learned today that SnapRAID syncs aren't actually supposed to take 2-3+ hours every single time. If no files change since the last sync, it takes mere seconds.

Depending on your settings, the -arrs will update the timestamps on your media to match the original release date. In doing so, they use a DD-MM-YYYY HH:MM:00:00 format.

SnapRAID gets mad about any file with exactly zero subseconds in the timestamp, and nudges you to update the timestamp with snapraid touch. This adds a RANDOM non-zero subsecond value to the timestamp. 'snapraid touch' is also part of many recommended scripts that people use to manage SnapRAID.

Unfortunately, if you have the -arrs setup to update timestamps on rescan, this resets that timestamp back to zero nanoseconds. Then snapraid touch picks another random number of nanoseconds. Over & over & over this repeats. Every time it does, it throws off SnapRAID's parity for those files, and forces a full re-sync.


What I'm saying is that if you use SnapRAID and the -arrs, you probably want to either disable the "Change File Date" option, or limit rescanning of folders to "Never" or "After Manual Refresh" (knowing that a manual refresh in that -arr will force a full SnapRAID re-sync of that library).

https://preview.redd.it/kzxh172e5upd1.png?width=660&format=png&auto=webp&s=090238111d1910ad6bbcebd5e744ade6088aa1ab

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here