On 01/11/2019 01:40 AM, stakanov wrote:
What I would like to ask as a last bit: is there an app in Plasma / KDE that allows to monitor the status of the RAID? If the user would have had this, I would have had an easier life to find out what was happening well before. So if there should be one, I would be happy to set it up to give a visual control to the user when such an event occurs.
Not that I know of. mdadm.conf requires an e-mail address associated with the MAILADDR setting to send an e-mail when a failure is detected. (when mdadm.servic is started) You also have the option to set a PROGRAM to launch in case of failure that you could use to display a dialog, etc.. You can also write your own script to check each array using 'mdadm -D` and check 'Active Devices', 'Working Devices' and 'Failed Devices'. When I loop over the arrays to scrub them, I use a grep of /proc/mounts to pick out each of the arrays -- something similar to: grep -o '^/dev/md[0-9][0-9]*' /proc/mounts I just feed a while loop with a process substitution to loop over each of the devices. However, it may be worth checking on the linux-raid@vger.kernel.org mailing list to see if they may be aware of any similar utility that is already written. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org