[dm-devel] How does multipath tool handle Lun remapping?

Konrad Rzeszutek konrad at virtualiron.com
Fri Jan 16 18:13:28 UTC 2009


On Fri, Jan 16, 2009 at 04:42:25PM +0800, 谢纲 wrote:
> Hi,
> 
> multipath path tool use the external program, such as scsi_id in udev,
> to get the id of the lun. But how does it handle the lun remapping?
> For example, at first, thiere is a lun in array:lun1, it is mapped to
> host with lun id 11. On the host, I use the multipath program to
> generate a multipath device for this lun. Then I unmap lun1 and
> another lun: lun2 which is mapped to the host with the same lun id 11.

Do you reboot the system after those unmaps/maps?

> In this situation, it seems that the multipath tool could not notice
> that there is a change of lun even after recreate the multipath
> device, is that true?

It would - as long as hte block devices get re-created/deleted
for the new/old LUNs.

> 
> Thanks,
> 
> -- 
> Xie Gang
> 
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel




More information about the dm-devel mailing list