With RHEL4 kernel-smp-2.6.9-17.EL.i686.rpm and 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