Perhaps the failing is really correctly reporting: ls: cannot access /dev/md?*: No such file or directory ie: there really is no /dev/md?* on the system where the failing is reported. But there also is no raid devices on subject system.