The original post: /r/datahoarder by /u/koomahnah on 2025-01-05 16:20:51.
Fellow hoarders, I'm new to the club and just set up my Optiplex 3080 Micro very recently with an Immich instance. I noticed something very weird:
$ for i in `seq 1 100`; do sleep 0.5 && sha1sum "Zdjecia-sync-bucket/Automatic upload/Mi 9T/Camera/VID_20241019_161631.mp4"; done
10402ffa2b16431b4794e9f57edbf5dfeaa704dc Zdjecia-sync-bucket/Automatic upload/Mi 9T/Camera/VID_20241019_161631.mp4
...
8de18fc5be706b662742b126a083f7a8efed68c9 Zdjecia-sync-bucket/Automatic upload/Mi 9T/Camera/VID_20241019_161631.mp4
...
3fca013cab8606bae4952bdd1d4867170bf13f11 Zdjecia-sync-bucket/Automatic upload/Mi 9T/Camera/VID_20241019_161631.mp4
The hash of the file is changing even though there's no one changing that file, or at least lsof
doesn't show anyone to be doing that. I'm the only user of that machine. I've noticed that change only by accident: some time ago I've written myself a simple indexing tool, basically go over all the files, sha1sum them, serialize the index as json to validate it later. Through this validation I noticed that this file got corrupted. Soon I've restored it from backup, but then another file (in the same directory) gets this corruption.
That freaks my out. The SSD drive i'm using is Kingston KC3000 Fury Renegade. Is that thrash? Or is ext4 filesystem to blame?
01:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. KC3000/FURY Renegade NVMe SSD E18 (rev 01)
I bought that used together with the Optiplex, but there were just ~20 power cycles on it. What would you suggest?
Side note: rclone didn't even notice the file went corrupted, presumably because it checks modification time rather than hash.