View previous topic :: View next topic |
Author |
Message |
Jarry n00b
Joined: 12 Jul 2005 Posts: 13
|
Posted: Mon Jul 18, 2005 6:04 pm Post subject: mdadm: failed to stop /dev/md1 |
|
|
I have just finished (finally!) installation of 2005.0, and I've noticed on
console-screen some strange message always, 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? |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Mon Jul 18, 2005 6:24 pm Post subject: |
|
|
Hi.
Instead of doing
have you tried doing the same to the partition the array was mounted on?
Code: | # lsof /mount/partition |
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
Jarry n00b
Joined: 12 Jul 2005 Posts: 13
|
Posted: Tue Jul 19, 2005 8:15 am Post subject: |
|
|
> have you tried doing the same to the partition the array was mounted on?
> # lsof /mount/partition
well, my /dev/md1 is root-partition, so I issued:
lsof / | less
It gives me a lot of opened files:
init
khelper
kacpid
kblock
kswap
md*_raid1
udevd
kjournald
syslog-ng
acpid
named
sshd
apache
cron
agetty
...
I think they should all be closed at shutdown...
Where should I put link to lsof so that it would display opened
files right before mdadm tries to stop arrays (when doing shutdown)? |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Wed Jul 20, 2005 12:17 am Post subject: |
|
|
Moved from Installing Gentoo to Kernel & Hardware. |
|
Back to top |
|
|
PiniHadad n00b
Joined: 16 Jun 2003 Posts: 69
|
Posted: Wed Jul 20, 2005 1:49 am Post subject: |
|
|
I've got / on an md device and I recently started seeing this behavior also. |
|
Back to top |
|
|
PiniHadad n00b
Joined: 16 Jun 2003 Posts: 69
|
|
Back to top |
|
|
|