linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mdadm (on partitionable arrays) and partition uevents
@ 2007-08-11 12:05 Michal Soltys
  0 siblings, 0 replies; only message in thread
From: Michal Soltys @ 2007-08-11 12:05 UTC (permalink / raw)
  To: linux-raid

During doing some tests, I've found a slight delay of partition related 
uevents, when raid devices are assembled/stopped.

For example - consider md/d0 with 1 partition created. The array is unassembled.

1) mdadm -A /dev/md/d0

will generate "change" even properly for md/d0, but "add' uevent for its 
partition, will be delayed until some next mdadm operation or some partition 
related operation - fdisk, etc.

2) mdadm -S /dev/md/d0

Analogously, "remove" for partitions will be run on some later mdadm 
command, or even unsuccessful attempt to fdisk that array.

To not cause any potential conflicts, mdadm.conf had symlinks=no, and mdadm 
was used only with directory based names, whereas udev had no custom rules 
regarding any md devices (so only standard /dev/md_d[0-9]* and /dev/md[0-9]* 
were created).

Tested under udev 114, mdadm 2.6.2 on two different systems (one arch 64bit, 
the other 32bit).

I'm not actually sure if it's even a bug in the first place, or if it has 
anything to do with mdadm, but reporting it nonetheless.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-11 12:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-11 12:05 mdadm (on partitionable arrays) and partition uevents Michal Soltys

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