All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: dm-devel@redhat.com
Subject: Re: Priozier for remote port on fibre channel devices
Date: Fri, 11 Jan 2013 09:06:55 +0100	[thread overview]
Message-ID: <50EFC81F.1070209@suse.de> (raw)
In-Reply-To: <OF3C233FBC.B29A53C0-ONC1257AF0.002A1FF8-C1257AF0.002AC473@continental-corporation.com>

On 01/11/2013 08:47 AM, 
Andreas.Bleischwitz@continental-corporation.com wrote:
> Hello Hannes,
>
> sorry for top-posting, but crappy Notes is not really a good client
> for mailing-list - at least I don't know how to avoid such mess.
>
> The output is
>
> [root@fru3710e ~]# sg_inq /dev/sdc
> standard INQUIRY:
>    PQual=0  Device_type=0  RMB=0  version=0x04  [SPC-2]
>    [AERC=0]  [TrmTsk=0]  NormACA=1  HiSUP=1  Resp_data_format=2
>    SCCS=0  ACC=0  TPGS=0  3PC=0  Protect=0  BQue=0
>    EncServ=0  MultiP=1 (VS=1)  [MChngr=0]  [ACKREQQ=0]  Addr16=0
>    [RelAdr=0]  WBus16=0  Sync=0  Linked=0  [TranDis=0]  CmdQue=1
>    [SPI: Clocking=0x0  QAS=0  IUS=0]
>      length=193 (0xc1) Peripheral device type: disk
>   Vendor identification: EMC
>   Product identification: Invista
>   Product revision level: 5100
>   Unit serial number: CKM00xxxxxxxxx
>
Hehe. No alua for you (TPGS=0).
But that's EMC for you; probably you should count yourself lucky
that it's not claiming compability to SCSI-2 ...

> and well, 'weightedpath' is also available in RHEL, but only queries
> for the device name and the SCSI-address. I wanted to query the
> remote-port of the storage-device - which is the frontend wwn of the
> storage device.
>
Why don't you use the 'by-path' symlinks for the device name in 
weightedpath?
They'll include the target port WWN, so should give you what you want.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)

  reply	other threads:[~2013-01-11  8:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-11  7:11 Priozier for remote port on fibre channel devices Andreas.Bleischwitz
2013-01-11  7:22 ` Hannes Reinecke
2013-01-11  7:47   ` Andreas.Bleischwitz
2013-01-11  8:06     ` Hannes Reinecke [this message]
2013-01-11  8:18       ` Andreas.Bleischwitz
2013-01-11  8:42         ` Hannes Reinecke

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=50EFC81F.1070209@suse.de \
    --to=hare@suse.de \
    --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.