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

Konrad Rzeszutek konrad at virtualiron.com
Tue Jan 20 15:44:00 UTC 2009


On Tue, Jan 20, 2009 at 11:17:53AM +0800, 谢纲 wrote:
> It make sense that multipath tool can notice that there is a
> recreation of OS device. But it still depends on the external program,
> such as scsi_id to get the identifier of the lun。
> I looked through the scsi_id source code, found that unit serial
> number might be returned if the device supported the EVPD inquery
> page80. This might be the wrong infomation for multipath tool, is that
> true?

That information is correct. You can prove it yourself by running
'scsi_id -g -u -s /block/sdb' before and after the deletion. The
value will be the same.


What is not correct is the LUN number. And for that there needs
to be a deletion of the block device and a recreation of them.




More information about the dm-devel mailing list