[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080520201157.21c31481@tux.DEF.witbe.net>
Date: Tue, 20 May 2008 20:11:57 +0200
From: Paul Rolland <rol@...917.net>
To: Linux Kernel <linux-kernel@...r.kernel.org>
Cc: rol@...917.net
Subject: SATA hotplug device renaming and dmraid...
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists