linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Strange initramfs+udev+raid interaction creating /dev/md/*
@ 2010-08-05 12:49 Michael Guntsche
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Guntsche @ 2010-08-05 12:49 UTC (permalink / raw)
  To: linux-raid; +Cc: linux-hotplug

Hi again,

Apparently this is a problem with mdadm-3.1.2 and not udev.
Reverting to 3.1.1 or reverting commit
http://neil.brown.name/git?p=mdadm;a=commitdiff;h=319767b85c2b16d80c235195329470c46d4547b3

as mentioned in bugreport 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590319

fixes the issue for me.

Kind regards,
Michael Guntsche

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Strange initramfs+udev+raid interaction creating /dev/md/*
@ 2010-08-04 19:42 Michael Guntsche
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Guntsche @ 2010-08-04 19:42 UTC (permalink / raw)
  To: linux-raid

Hi list,

I am facing a strange behaviour between udev and the raid code here and
to be honest I do not know where the problem is.

The problem is the following. I have two md devices

ARRAY /dev/md0 metadata=0.90 UUID=3b9e371a:f651d170:2a42ebe3:f331026f
ARRAY /dev/md/1 metadata=1.00 name=gibson:1
UUID=2f18e1fe:867d891e:501f93be:ea635188

/dev/md/1 is giving me troubles. 
I am booting using an initramfs. Looking through the initramfs 
scripts I see that /dev/md/1 gets created by it. The syslog on the 
other hand shows me this during the boot process.

Aug  4 21:23:12 gibson mdadm[3606]: DeviceDisappeared event detected on
md device /dev/md/1
Aug  4 21:23:12 gibson mdadm[3606]: NewArray event detected on md device
/dev/md1

Apparently the device gets removed and then added as /dev/md1 as a
result /dev/md/1 disappears.
If I then run mdadm -Ds I see this

KERNEL[1280949869.791242] change   /devices/virtual/block/md1 (block)
KERNEL[1280949869.792353] change   /devices/virtual/block/md0 (block)
UDEV  [1280949869.850176] change   /devices/virtual/block/md1 (block)
UDEV  [1280949870.044863] change   /devices/virtual/block/md0 (block)

and /dev/md/1 is re-created. 

Now my question. Why does /dev/md/1 disappear and /dev/md1 gets created?
And even if /dev/md1 gets created shouldn't this trigger udev
automatically resulting in the creation of /dev/md/1 like running mdadm
-Ds does?

Kind regards,
Michael Guntsche



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

end of thread, other threads:[~2010-08-05 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-05 12:49 Strange initramfs+udev+raid interaction creating /dev/md/* Michael Guntsche
  -- strict thread matches above, loose matches on Subject: below --
2010-08-04 19:42 Michael Guntsche

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).