

Inotify is the official kernel supported tool that uses the inotify API, again that is the official kernel API for monitoring files and folders.
Its not that immediate to use, specially because there are caveats but works reliably well and indeed get the job done. Why do you say fragile? There isn’t a more comprehensive approach.
Only issue, doesn’t work on NFS and Samba shares.












Never had mdadm causing that. I have a raid5 array that’s used only for backup once a day and it is mounted 24/7, and the disks are off for 23hba day more or less …