public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] mdadm: failed to stop /dev/md1
@ 2005-07-18 15:50 Jarry
  2005-07-18 18:32 ` Richard Fish
  0 siblings, 1 reply; 2+ messages in thread
From: Jarry @ 2005-07-18 15:50 UTC (permalink / raw
  To: gentoo-user

Hm, I've noticed on console-screen some strange message when
doing shutdown:

mdamd: failed to stop /dev/md1 array, device or resource busy [!!]

/dev/md1 is mounted as root partition, apart from that I have
7 more /dev/md partitions, all are stopped without any message.

Right before "shutdown -h now" I tried to see if there are some
files open, but "lsof /dev/md1" showed nothing...

I can not find any other relevant messages, syslog-ng is stopped
before this error, and shutdown continues as usuall. Any ideas?

Jarry

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] mdadm: failed to stop /dev/md1
  2005-07-18 15:50 [gentoo-user] mdadm: failed to stop /dev/md1 Jarry
@ 2005-07-18 18:32 ` Richard Fish
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Fish @ 2005-07-18 18:32 UTC (permalink / raw
  To: gentoo-user

Jarry wrote:

> Hm, I've noticed on console-screen some strange message when
> doing shutdown:
>
> mdamd: failed to stop /dev/md1 array, device or resource busy [!!]
>
> /dev/md1 is mounted as root partition, apart from that I have
> 7 more /dev/md partitions, all are stopped without any message.
>
> Right before "shutdown -h now" I tried to see if there are some
> files open, but "lsof /dev/md1" showed nothing...
>
> I can not find any other relevant messages, syslog-ng is stopped
> before this error, and shutdown continues as usuall. Any ideas?
>

Yep, get used to it! ;->

The problem is that there are still at least two programs running at 
shutdown time...the shutdown command and init.  Since their current 
working directory is somewhere on the root filesystem, root cannot be 
unmounted...the best that can happen is that root gets remounted 
read-only.  And since your root filesystem cannot be unmounted, /dev/md1 
will continue to be busy.

It is a completely harmless message though.  I get something similar 
about shuting down LVM...

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-18 18:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-18 15:50 [gentoo-user] mdadm: failed to stop /dev/md1 Jarry
2005-07-18 18:32 ` Richard Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox