On Thu, Jul 25, 2013 at 9:06 PM, Martin Wilck <mwilck@xxxxxxxx> wrote: > On 07/25/2013 08:58 PM, Martin Wilck wrote: > >> Thinking about it - you did some coding of your own to start mdmon in >> the initrd, right? Do you also make sure that mdadm -Ss is called after >> umounting the file systems, but before shutdown? If not, an inconsistent >> state might result. > > I forgot - mdadm -Ss needs to be run after unmounting file systems, > killing logical volumes, etc, but before killing mdmon. > > This can be bit tricky. > However if your distro supports md with IMSM, the code should be in place. I need to check how systemd shutdown the service related to DM devices. I'll keep you informed. Thanks. -- Francis -- 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