Edit file File name : mdadm.shutdown Content :#!/bin/sh # We need to ensure all md arrays with external metadata # (e.g. IMSM, DDF) are clean before completing the shutdown. /usr/sbin/mdadm --wait-clean --scan Save