[dm-devel] Different Path priorities for iSCSI and FC paths to a combination lun.
Tore Anderson
tore at linpro.no
Tue Apr 29 20:06:00 UTC 2008
Hi,
* Srinivas Ramani
> I would be grateful to learn from this forum on how one would be able
> to have different path priorities for a FC / iSCSI paths to a
> multiprotocol FC/iSCSI combination lun using device mapper . The
> intention is that a FC path should have a higher priority than an
> iSCSI path to the same lun. Is it possible to do it with a
> configuration change or would one need to add this feature to the
> mpath_prio_alua code.
Make a small wrapper script that invokes mpath_prio_alua and also checks
if the path is to a iSCSI volume or not (you can probably determine this
by looking somewhere beneath /sys/block/$dev/). If it is, add 100 to
whatever mpath_prio_alua returned, and print the sum.
Regards
--
Tore Anderson
More information about the dm-devel
mailing list