LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-20-2011, 04:23 AM   #1
wwyyxx26
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
when i use 'mdadm -S /dev/md127', it produce kernel event with no stop


when I plug a disk which has superblock(it used to be a part of a raid5) into computer.

at the same time, I use 'udevadm monitor' to monitor the kernel event.

i use 'cat /proc/mdstat',it show me as below:

Personalities :
md127 : inactive sdc[8](S

976761560 blocks super 1.2

unused devices: <none>

so i use 'mdadm -S /dev/md127' to stop it, this show me that :

mdadm: stopped /dev/md127

but the 'udevadm monitor'begin to show me that without stop!

i copy some messages:

KERNEL[1303328552.894297] add /devices/virtual/block/md127 (block)

UDEV [1303328552.894311] remove /devices/virtual/bdi/9:127 (bdi)

KERNEL[1303328552.894323] add /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.894466] add /devices/virtual/block/md127 (block)

UDEV [1303328552.894629] add /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.894707] remove /devices/virtual/block/md127 (block)

KERNEL[1303328552.910670] remove /devices/virtual/bdi/9:127 (bdi)

KERNEL[1303328552.910710] remove /devices/virtual/block/md127 (block)

KERNEL[1303328552.910757] add /devices/virtual/block/md127 (block)

KERNEL[1303328552.910781] add /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.910974] remove /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.911109] add /devices/virtual/block/md127 (block)

UDEV [1303328552.911244] add /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.911302] remove /devices/virtual/block/md127 (block)

KERNEL[1303328552.920662] remove /devices/virtual/bdi/9:127 (bdi)

KERNEL[1303328552.920700] remove /devices/virtual/block/md127 (block)

KERNEL[1303328552.920842] add /devices/virtual/block/md127 (block)

KERNEL[1303328552.920866] add /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.920904] remove /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.921149] add /devices/virtual/bdi/9:127 (bdi)

KERNEL[1303328552.933928] remove /devices/virtual/bdi/9:127 (bdi)

KERNEL[1303328552.934009] remove /devices/virtual/block/md127 (block)

KERNEL[1303328552.934233] add /devices/virtual/block/md127 (block)

KERNEL[1303328552.934262] add /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.934360] remove /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.934834] add /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.934973] add /devices/virtual/block/md127 (block)

UDEV [1303328552.935265] remove /devices/virtual/block/md127 (block)

KERNEL[1303328552.943944] remove /devices/virtual/bdi/9:127 (bdi)

KERNEL[1303328552.944642] remove /devices/virtual/block/md127 (block)

UDEV [1303328552.944673] remove /devices/virtual/bdi/9:127 (bdi)

KERNEL[1303328552.944705] add /devices/virtual/block/md127 (block)

KERNEL[1303328552.944728] add /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.944858] add /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.945038] add /devices/virtual/block/md127 (block)

UDEV [1303328552.945277] remove /devices/virtual/block/md127 (block)

KERNEL[1303328552.957300] remove /devices/virtual/bdi/9:127 (bdi)

KERNEL[1303328552.957637] remove /devices/virtual/block/md127 (block)

KERNEL[1303328552.957672] add /devices/virtual/block/md127 (block)

KERNEL[1303328552.957696] add /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.958071] remove /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.958238] add /devices/virtual/block/md127 (block)

UDEV [1303328552.958673] add /devices/virtual/bdi/9:127 (bdi)

UDEV [1303328552.958735] remove /devices/virtual/block/md127 (block)

KERNEL[1303328552.967284] remove /devices/virtual/bdi/9:127 (bdi)

KERNEL[1303328552.967337] remove /devices/virtual/block/md127 (block)


is that a bug?

i use OpenSuSE 2.6.34
 
Old 05-01-2011, 06:26 PM   #2
plpl303a
Member
 
Registered: May 2011
Posts: 52

Rep: Reputation: 3
What does

cat /proc/mdstat

show you?

Does that report that the device is stopped?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mdadm --manage /dev/md0 --add /dev/sdb1 returns device busy JeepingAZ Linux - Desktop 2 02-17-2011 01:18 PM
RAID Created with 'mdadm' on /dev/md0, but uses /dev/md3 Hummdis Linux - Software 1 03-12-2010 09:06 AM
Cannot create /dev/md1 using mdadm after /dev/md0 is created dwong05 Linux - Newbie 1 05-04-2009 03:37 AM
mdadm says "mdadm: /dev/md1 not identified in config file" when booting FC7 raffeD Linux - Server 1 08-11-2008 12:47 PM
Can't stop mdadm resync! mackdav Linux - Server 3 03-27-2007 01:57 PM


All times are GMT -5. The time now is 06:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration