From: Tore Anderson <tore@linpro.no>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Different Path priorities for iSCSI and FC paths to a combination lun.
Date: Tue, 29 Apr 2008 22:06:00 +0200 [thread overview]
Message-ID: <48177FA8.7030206@linpro.no> (raw)
In-Reply-To: <7DAA28B9259FAD458DEE03DC3DA236DA043F66DF@caex02.trans.corp>
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
next prev parent reply other threads:[~2008-04-29 20:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200804241603.m3OG3B5M030182@hera.kernel.org>
2008-04-29 14:56 ` Patch added to scsi-pending-2.6: [SCSI] scsi_dh: Use SCSI device handler in dm-multipath Alasdair G Kergon
2008-04-29 18:29 ` Different Path priorities for iSCSI and FC paths to a combination lun Srinivas Ramani
2008-04-29 20:06 ` Tore Anderson [this message]
2008-05-01 22:39 ` Different Path priorities for iSCSI and FC paths toa " Srinivas Ramani
2008-04-29 23:45 ` Patch added to scsi-pending-2.6: [SCSI] scsi_dh: Use SCSI device handler in dm-multipath Chandra Seetharaman
2008-05-01 23:21 ` Chandra Seetharaman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48177FA8.7030206@linpro.no \
--to=tore@linpro.no \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.