[dm-devel] Online addition/deletion of devices/partitions

Murthy, Narasimha Doraswamy (STSD) narasimha.murthy at hp.com
Mon Aug 29 09:51:18 UTC 2005


With RHEL4  kernel-smp-2.6.9-17.EL.i686.rpm
<http://people.redhat.com/jbaron/rhel4/RPMS.kernel/kernel-smp-2.6.9-17.E
L.i686.rpm>   and  device-mapper-multipath-0.4.5-5.2.RHEL4.i386.rpm
<http://people.redhat.com/agk/miscrpms/device-mapper-multipath-0.4.5-5.2
.RHEL4.i386.rpm>  there 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 hotplug  and who calls
"/etc/dev.d/block/multipath.dev" for refreshing the multipathing maps?

 

Also if the device is partitioned, the new device node (/dev/dm-*) for
partitioned segment is not created until "kpartx -a <whole device-name>
is issued from the command line.  Will the /sbin/hotplug  be called when
the device is partitioned (using fdisk)? And how to configure hotplug to
call "kpartx " whenever a partition is added/deleted?

 

Thanks and regards

-Murthy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20050829/dd1d5bf4/attachment.htm>


More information about the dm-devel mailing list