The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,953 other followers

Archive for July 21st, 2014

Using inotify-wait to check filesystem events

Posted by jpluimers on 2014/07/21

Thanks to Using inotify-wait to check filesystem events I got pointed to How to use inotify-tools to trigger scripts on filesystem events which is now on my research list.


Note that Kristian later on commented this:

The solution shown in the article has race conditions and should not be used.

It is based on

while :
inotifywait $options && run-backup

and that means that while the backup runs, the directory in question is unmonitored. When the backup finishes, new changes may have been accumulating during backup run, but without being picked up by the backup.

A proper solution would do something like

inotifywait -m $options | while read line

The important thing is that “inotifywait -m” does not terminate and hence no changes will be lost. It is wrong to run the backup once in full for each change, though.


Posted in *nix, *nix-tools, Linux, Monitoring, Power User, SuSE Linux | Leave a Comment »

Good starting point for RAID information

Posted by jpluimers on 2014/07/21

Accurate information about RAID is scattered around the internet.

This is a good starting point IBM’s Understanding RAID technology.


Posted in Power User, RAID | Leave a Comment »

%d bloggers like this: