mdadm shutdown question
Hi,
This question is mainly about the following error during shutdown on my gentoo system:
mdadm: fail to stop array /dev/md1: Device or resource busy
(full raid1, root is on /dev/md1)
After searching bugzilla I found:
http://bugs.gentoo.org/show_bug.cgi?id=119380
However there's no agreement on if / how mdadm should stop the rootfs during a shutdown sequence. Can anyone enlight me on a good way to proceed in this ?
Regards,
-- Frido Ferdinand
Quoted 9 lines · On Thursday March 23, [email protected] wrote:
Hi,
This question is mainly about the following error during shutdown on my gentoo system:
mdadm: fail to stop array
/dev/md1: Device or resource busy(full raid1, root is on
/dev/md1)
Quoted 7 lines
After searching bugzilla I found:
http://bugs.gentoo.org/show_bug.cgi?id=119380
However there's no agreement on if / how mdadm should stop the rootfs during a shutdown sequence. Can anyone enlight me on a good way to proceed in this ?
There is no need to stop the root md, or in fact any md, at shutdown. The shutdown process in the kernel will switch any active md arrays to read-only, which is effectively the same as shutting them down.
It doesn't hurt to do
mdadm -Ss
but it isn't really needed and you can ignore any errors.
NeilBrown
Quoted 8 lines
Regards,
-- Frido Ferdinand
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html