Hi,

we try to do as follows and the system did recognize/see any LUNs


from this doc -

http://public.dhe.ibm.com/software/dw/linux390/docu/lk38ts07a.pdf


FCP setups running in NPIV mode detect the LUNs automatically and after
setting

the device online no further configuration is necessary.

*
NPIV example

*

1. To set FCP device 0.0.5400 online, issue the following command:

# chccwdev --online 0.0.5400

Setting device 0.0.5400 online

Done

The *chccwdev *command is part of s390-tools. For a description of the

command see *Device Drivers, Features, and Commands*, SC33-8411

After setting the FCP device online, all LUNs with valid host-connections
for the

WWPN of the NPIV FCP device are automatically visible as SCSI devices:

# lsscsi

[0:0:0:1073758410]disk IBM 2107900 0.33 /dev/sda

[0:0:0:1073823946]disk IBM 2107900 0.33 /dev/sdb



2. To find out if the FCP setup is running in NPIV mode, check the port_type

attribute of the FCP device, for example:



# cat /sys/bus/ccw/drivers/zfcp/0.0.5400/host0/fc_host/host0/port_type

NPIV VPORT







*
Regards,

Avinoam
*






On Tue, Jun 18, 2013 at 1:27 PM, Steffen Maier <[email protected]>wrote:

> On 06/18/2013 06:44 AM, Avinoam hirschberg wrote:
>
>> we try to use NPIV (dynamically) with no success, we can do Manuel with
>> command line and Yast/Yast2
>>
>
> Could you please elaborate in more detail what your expectations are, what
> you tried, and what (error) messages you got?
>
> --
> Mit freundlichen Grüßen / Kind regards
> Steffen Maier
>
> Linux on System z Development
>
> IBM Deutschland Research & Development GmbH
> Vorsitzende des Aufsichtsrats: Martina Koederitz
> Geschäftsführung: Dirk Wittkopp
> Sitz der Gesellschaft: Böblingen
> Registergericht: Amtsgericht Stuttgart, HRB 243294
>
> ------------------------------**------------------------------**----------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/**wlvindex?LINUX-390<http://www.marist.edu/htbin/wlvindex?LINUX-390>
> ------------------------------**------------------------------**----------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to