<font size=2 face="sans-serif">Thanks for the hint, that will at least
work for RHEL6+. For RHEL5 I will use the scripted version.</font>
<br>
<br><font size=2 face="sans-serif">The only downside on that is, that I
will have a long line for the weightedpath regex definition as this has
to be for each VPLEX-port.</font>
<br><font size=2 face="sans-serif">At least I will have reduced the need
to write something on my own ;)</font>
<br>
<br><font size=2 face="sans-serif">Best regards,</font>
<br>
<br><font size=2 face="sans-serif">Andreas</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Hannes Reinecke <hare@suse.de></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">dm-devel@redhat.com,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">11.01.2013 09:08</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [dm-devel]
Priozier for remote port on fibre channel devices</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:
</font><font size=1 face="sans-serif">dm-devel-bounces@redhat.com</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>On 01/11/2013 08:47 AM, <br>
Andreas.Bleischwitz@continental-corporation.com wrote:<br>
> Hello Hannes,<br>
><br>
> sorry for top-posting, but crappy Notes is not really a good client<br>
> for mailing-list - at least I don't know how to avoid such mess.<br>
><br>
> The output is<br>
><br>
> [root@fru3710e ~]# sg_inq /dev/sdc<br>
> standard INQUIRY:<br>
> PQual=0 Device_type=0 RMB=0 version=0x04
[SPC-2]<br>
> [AERC=0] [TrmTsk=0] NormACA=1 HiSUP=1
Resp_data_format=2<br>
> SCCS=0 ACC=0 TPGS=0 3PC=0 Protect=0
BQue=0<br>
> EncServ=0 MultiP=1 (VS=1) [MChngr=0] [ACKREQQ=0]
Addr16=0<br>
> [RelAdr=0] WBus16=0 Sync=0 Linked=0
[TranDis=0] CmdQue=1<br>
> [SPI: Clocking=0x0 QAS=0 IUS=0]<br>
> length=193 (0xc1) Peripheral device type: disk<br>
> Vendor identification: EMC<br>
> Product identification: Invista<br>
> Product revision level: 5100<br>
> Unit serial number: CKM00xxxxxxxxx<br>
><br>
Hehe. No alua for you (TPGS=0).<br>
But that's EMC for you; probably you should count yourself lucky<br>
that it's not claiming compability to SCSI-2 ...<br>
<br>
> and well, 'weightedpath' is also available in RHEL, but only queries<br>
> for the device name and the SCSI-address. I wanted to query the<br>
> remote-port of the storage-device - which is the frontend wwn of the<br>
> storage device.<br>
><br>
Why don't you use the 'by-path' symlinks for the device name in <br>
weightedpath?<br>
They'll include the target port WWN, so should give you what you want.<br>
<br>
Cheers,<br>
<br>
Hannes<br>
-- <br>
Dr. Hannes Reinecke
zSeries & Storage<br>
hare@suse.de
+49 911 74053 688<br>
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg<br>
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)<br>
<br>
--<br>
dm-devel mailing list<br>
dm-devel@redhat.com<br>
</font></tt><a href="https://www.redhat.com/mailman/listinfo/dm-devel"><tt><font size=2>https://www.redhat.com/mailman/listinfo/dm-devel</font></tt></a><tt><font size=2><br>
</font></tt>
<br>