mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* SATA hotplug device renaming and dmraid...
@ 2008-05-20 18:11 Paul Rolland
  0 siblings, 0 replies; only message in thread
From: Paul Rolland @ 2008-05-20 18:11 UTC (permalink / raw)
  To: Linux Kernel; +Cc: rol

Hello,

I'm using a machine that supports SATA hotplug and with and Intel ESB2
(Fake)Raid controller.
I've configured a raid1 (mirror) array using dmraid, that is made of 
/dev/sda and /dev/sdb, and seen by the OS as /dev/mapper/isw_xxxxxxx_RAID1

My problem is that when I unplug and replug a disk, it is assigned a 
new name (/dev/sdc first time as this is the first name available), and
so it is no more considered as being part of the RAID array.

Is this an expected behavior ? Is there a way (using dmraid/dmsetup) to
instruct kernel of the changes ? 

It seems that udev can get events from device-mapper, from
Documentations/device-mapper/dm-xxxx.txt, but I don't really see how to use
this to notify of a disk change in the array...

Regards,
Paul

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

only message in thread, other threads:[~2008-05-20 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-20 18:11 SATA hotplug device renaming and dmraid Paul Rolland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®