<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"MS Sans Serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"MS Sans Serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>With RHEL4 </span></font> <a
href="http://people.redhat.com/jbaron/rhel4/RPMS.kernel/kernel-smp-2.6.9-17.EL.i686.rpm">kernel-smp-2.6.9-17.EL.i686.rpm</a>
 and  <a
href="http://people.redhat.com/agk/miscrpms/device-mapper-multipath-0.4.5-5.2.RHEL4.i386.rpm">device-mapper-multipath-0.4.5-5.2.RHEL4.i386.rpm</a>
t<font size=2 face="MS Sans Serif"><span style='font-size:10.0pt;font-family:
"MS Sans Serif"'>here is no SCSI subsystem specific agents in
/etc/hotplug/<name>.agent for handling the addition/deletion of SCSI
devices.  There is file /etc/dev.d/block/multipath.dev which has to be
used for online addition/deletion of devices. Can some one explain me on how the
new SCSI device gets added/deleted using <i><span style='font-style:italic'>hotplug
</span></i> and who calls “/etc/dev.d/block/multipath.dev” for
refreshing the multipathing maps?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>Also if the device is partitioned, the new device
node (/dev/dm-*) for partitioned segment is not created until “kpartx –a
<<i><span style='font-style:italic'>whole device-name</span></i>> is
issued from the command line.  Will the <i><span style='font-style:italic'>/sbin/hotplug</span></i>
 be called when the device is partitioned (using fdisk)? And how to configure
hotplug to call “<i><span style='font-style:italic'>kpartx<u> </u></span></i>“
whenever a partition is added/deleted?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>Thanks and regards<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="MS Sans Serif"><span style='font-size:
10.0pt;font-family:"MS Sans Serif"'>-Murthy<o:p></o:p></span></font></p>

</div>

</body>

</html>