Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128848 - raid device umount message strangeness
Summary: raid device umount message strangeness
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 119380
Blocks:
  Show dependency tree
 
Reported: 2006-04-04 18:00 UTC by Kenton Groombridge
Modified: 2006-05-24 12:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenton Groombridge 2006-04-04 18:00:04 UTC
I am using ext3 on raid0. When I shutdown or reboot, I get this error:

mdadm: fail to stop array /dev/md1: Device or resource busy  [ !! ]

/dev/md1 is my /usr file system.

In /etc/init.d/halt.sh there is this line:

                [[ ${x} == "/usr" ]] && continue

When I comment out this line, I no longer get this message.

I appears that when commenting out this line a proper umount is performed and the raid is shutdown, where if I don't, it is later marked as readonly in the function:

mount_readonly() {

and produces the error output since the raid system was not shutdown.

Either way the deed is done, but the error message just looks funky.

Not pertaining to this issue, but I would like to find out why I get these message in my log:

md: sdc7 has different UUID to sdc8
md: sdc6 has different UUID to sdc8
md: sdc5 has different UUID to sdc8
md: sdc1 has different UUID to sdc8

There is a bunch of them right after the other.  It just doesn't look right and I have been googling for hours and all I found is others wanting to know that this is.

Thanks for all your hard work!

Portage 2.1_pre7-r4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-ck3 i686)
=================================================================
System uname: 2.6.16-ck3 i686 AMD Athlon(tm)
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/ http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext S3TC X a52 aac acpi alsa apache2 arts asf asm audiofile berkdb bzip2 cairo cddb cdio cdparanoia cdr cdrom cli crypt css ctype cups curl dba dga dlloader dri dvd dvdr dvdread eds emoticon encode esd expat fame fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect ftp gd gdbm gif gimp glut gstreamer gtk gtk2 gzip ieee1394 imagemagick imlib imlib2 input_devices_evdev input_devices_joystick input_devices_keyboard iproute2 isdnlog jack java javascript joystick jpeg jpeg2k kde lame libwww live logitech-mouse lzo mad memlimit mikmod mjpeg mmx mmxext motif mozsvg mp3 mpeg mpeg2 mplayer musicbrainz nas ncurses network nforce2 nls nntp no-old-linux nomalloccheck nptl nptlonly nsplugin nspr nvidia ogg openal opengl pam pcre pdf perl png posix pppd python qt quicktime readline real rtc samba scanner sdl session simplexml soap sockets spell spl sse ssl subtitles svg sysfs tcltk tcpd theora tiff tokenizer transcode truetype truetype-fonts type1 type1-fonts udev unicode urandom usb userlocales v4l2 vcd video_cards_nvidia vorbis win32codecs wmf xine xml xpm xrandr xscreensaver xsl xv xvid xvmc zlib zvbi elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-05-24 12:37:59 UTC
Fixed in baselayout-1.12.0-r1