On Sun, 2020-06-21 at 18:06 -0500, Roger Heflin wrote: > It would appear that the md stop is still running when you remove the disk. > > > > So in both cases you run the exact same script but from cron it fails? Yes. > I would think you either need a loop validating that the md stopped or > just put a simple few second sleep delay between the md stop and the > disk stop. I'll look at that (though I would think that when 'mdadm' returns it means that md has in fact stopped), however the errors appear when starting ('dock up'), not when stopping. poc _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx