* mdadm shutdown question
@ 2006-03-23 14:42 Frido Ferdinand
2006-03-24 0:55 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: Frido Ferdinand @ 2006-03-23 14:42 UTC (permalink / raw)
To: linux-raid
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mdadm shutdown question
2006-03-23 14:42 mdadm shutdown question Frido Ferdinand
@ 2006-03-24 0:55 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2006-03-24 0:55 UTC (permalink / raw)
To: Frido Ferdinand; +Cc: linux-raid
On Thursday March 23, frido@zolder.org 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-24 0:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-23 14:42 mdadm shutdown question Frido Ferdinand
2006-03-24 0:55 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).