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)
> 
> 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

> 
> 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
-
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

Reply via email to