You are not logged in.
I have raid1 setup and it is often started in degraded mode, because one disk is removed. The disk seems to be there and working, I can add it back to array and it seems to work fine. Maybe it is just slow? I have to investigate this, any ideas are appreciated, but my main issue here is that I have mdmonitor set up and I am not getting emails when this happens.
Looking at
systemctl status mdmonitor.service
it is clear that email can not be sent, because at the time the error is detected, network is not up yet.
I have tried to adjust mdmonitor systemd unit file by adding override
[Unit]
After=network.target
but it did not solve the issue.
My current workaround is to restart the mdmonitor.service 30 seconds after my GUI sessions starts, but this would obviously not work on server and is not a good solution.
Is there a better way ?
Last edited by Raqua (2022-09-04 09:58:12)
Offline