|
|
|
|
|
by CTDOCodebases
1177 days ago
|
|
I had a similar thing happen to me. The sata controller probably failed. At first it corrupted a few files. I though nothing of it since I had a few power outages. Then more files. So I reformatted but file corruption kept happening. Switched the drive to a separate chipset with the same cable and all was good. My current solution to this situation is a Low power PC which runs FreeBSD that has ECC RAM and a ZFS pool consisting of five mirrored drives. This PC gets backups pushed to it from my main workstation and makes a snapshot each time. I plan to change it though to a pull configuration. This way it will be immune to crptolocker software performing privilege escalation attacks since no services will be offered and no credentials will be viewed by the workstation. I have to configure it using its own keyboard though. Even then the backups need to be tested. |
|
Isn't that the role of zfs scrub?
Or do you mean testing if say a JPG file is still a valid JPG?
I think there are scripts that can store a md5 of each file in a sqlite database for filesystems without checksumming such as xfs