Neil, All, I'm chasing down the reason there is no /usr/lib/systemd/scripts/mdadm_env.sh provided with mdadm. This is more a curiosity really as mdmonitor continues to run, but it always throws an error at boot: Jun 05 17:12:47 valhalla systemd[454]: mdmonitor.service: Failed at step EXEC spawning /usr/lib/systemd/scripts/mdadm_env.sh: No such file or directory I have several Arch servers, all on mdadm 3.4-1. I ran into an issue a year or so ago with a boot error with mdmonitor due to my failure to provide MAILADDR in /etc/mdadm.com, but that has long since been corrected: # cat /etc/mdadm.conf DEVICE partitions ARRAY /dev/md0 metadata=1.2 name=archiso:0 UUID=1b67f2d4:4911f2c5:469f9dcf:315814ce ARRAY /dev/md1 metadata=1.2 name=archiso:1 UUID=0542c5c9:3802b256:32e97884:a2e49f53 ARRAY /dev/md2 metadata=1.2 name=archiso:2 UUID=812e8f85:0c4efbef:a0c02f49:215df35e ARRAY /dev/md3 metadata=1.2 name=archiso:3 UUID=80a3bf76:e6421b06:6edb2a88:741e8b6f MAILADDR david@xxxxxxxxxxxx PROGRAM /usr/sbin/handle-mdadm-events So following the rabbit trail further, I check and there is no /usr/lib/systemd/scripts/mdadm_env.sh on my system and it is not provided as part of the mdadm package: # pacman -Ql mdadm mdadm /etc/mdadm.conf mdadm /usr/bin/mdadm mdadm /usr/bin/mdassemble mdadm /usr/bin/mdmon mdadm /usr/lib/initcpio/hooks/mdadm mdadm /usr/lib/initcpio/install/mdadm mdadm /usr/lib/initcpio/install/mdadm_udev mdadm /usr/lib/systemd/system-shutdown/mdadm.shutdown mdadm /usr/lib/systemd/system/mdadm-grow-continue@.service mdadm /usr/lib/systemd/system/mdadm-last-resort@.service mdadm /usr/lib/systemd/system/mdadm-last-resort@.timer mdadm /usr/lib/systemd/system/mdmon@.service mdadm /usr/lib/systemd/system/mdmonitor.service mdadm /usr/lib/udev/rules.d/63-md-raid-arrays.rules mdadm /usr/lib/udev/rules.d/64-md-raid-assembly.rules <snip man pages> However, the mdmonitor.service file is certainly looking for one: # cat /usr/lib/systemd/system/mdmonitor.service # This file is part of mdadm. # # mdadm is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. [Unit] Description=MD array monitor DefaultDependencies=no [Service] Environment= MDADM_MONITOR_ARGS=--scan EnvironmentFile=-/run/sysconfig/mdadm ExecStartPre=-/usr/lib/systemd/scripts/mdadm_env.sh ExecStart=/sbin/mdadm --monitor $MDADM_MONITOR_ARGS Further, there isn't even a /run/sysconfig directory on Arch (which looks more SuSE'esque). Checking the status, mdmonitor is happily running and doing it's job: # sc status mdmonitor ● mdmonitor.service - MD array monitor Loaded: loaded (/usr/lib/systemd/system/mdmonitor.service; static; vendor preset: disabled) Active: active (running) since Fri 2016-05-27 08:32:26 CDT; 1 weeks 2 days ago Process: 353 ExecStartPre=/usr/lib/systemd/scripts/mdadm_env.sh (code=exited, status=203/EXEC) Main PID: 378 (mdadm) Tasks: 1 (limit: 512) CGroup: /system.slice/mdmonitor.service └─378 /sbin/mdadm --monitor --scan May 27 08:32:26 valkyrie systemd[1]: Starting MD array monitor... May 27 08:32:26 valkyrie systemd[1]: Started MD array monitor. So the issue here is "is this a missing file from the Arch packaging of mdadm?", "or is there just an oversight in the service file?" I apoligize if this has been asked before, searching, I don't find anything directly. So is this an Arch issue or a mdadm issue? I know it's not a big issue, but I'd like to clean up the boot message properly. What say the devs? -- David C. Rankin, J.D.,P.E. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html