<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear Andy Grover, targetcli-fb Developers, <br>
<br>
firstly, I'd like to thank you for your contribution in targetcli
and related libraries developing. I am writing to you to ask, if
there it is possible to add to targetcli qla2xxx_npiv support. I
have been studying this for 2 days now and it's hard to create NPIV
targets manually.<br>
<br>
To create NPIV WWN using qla2xxx you need:<br>
1. Create FC host using vport_create:<br>
<br>
echo '1111222233334444:5555666677778888' >
/sys/class/fc_host/host5/vport_create<br>
<br>
After this new /sys/class/fc_host/hostX will appear, but NPIV WWN is
not discovered at FC switch yet.<br>
<br>
2. Create the path:
/sys/kernel/config/target/qla2xxx_npiv/21:00:00:xx:xx:xx:xx:11@5555666677778888:1111222233334444<br>
<br>
where "21:00:00:xx:xx:xx:xx:11" is physical WWN taken from port_name
(sed needed).<br>
<br>
3. qla2xxx_npiv directory seems to be the same as
/sys/kernel/config/target/qla2xxx. After enabling tgpt_1 I can see
"5555666677778888" at FC switch, however I can't successfuly share
the LUN with an initiator.<br>
<br>
NPIV WWNs are needed to make user-friendly failover between hosts.<br>
<br>
I am eager to help you in this development, especially including
testing this functionality in our infrastructure.<br>
<br>
Best regards,
<div class="moz-signature">-- <br>
<table width="683" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="2" width="683" height="98">
<p style="margin-top:16px;"> </p>
<p style="color:#001c45; font-family:'open sans',verdana;
font-size:12px; font-weight:bold; margin:0;">Tomasz
Charoński</p>
<p style="color:#414040; font-family:'open sans',verdana;
font-size:12px; font-weight:normal; margin:0;">Storage
Administrator</p>
<p style="color:#414040; font-family:'open sans',verdana;
font-size:12px; font-weight:normal; margin:0;"><br>
</p>
</td>
</tr>
<tr>
<td style="background-color:#2a4f86;" valign="top"><img
alt="" style="display:block; border:0;"
src="cid:part1.08060207.07050300@beyond.pl" width="141"
height="205"></td>
<td style="background-color:#2a4f86;color:#ffffff;
font-family:'open sans',verdana; font-size:11px;
font-weight:normal;" width="542" height="205">
<p> Ul. M. Palacza 113<br>
60-273 Poznań<br>
tel.: +48 61 859 70 07<br>
fax: +48 61 623 25 79<br>
<a href="http://www.beyond.pl" target="_blank"
style="color:#ffffff;text-decoration:none;">www.beyond.pl</a><br>
<a href="mailto:biuro@beyond.pl" target="_blank"
style="color:#ffffff;text-decoration:none;">biuro@beyond.pl</a>
</p>
<p> NIP: 782-23-24-152<br>
KRS: 0000237620<br>
Sąd Rejonowy Poznań-Nowe Miasto i Wilda w Poznaniu<br>
VIII Wydział Gospodarczy Krajowego Rejestru Sądowego<br>
Kapitał Zakładowy: 2 539 700,00 PLN </p>
</td>
</tr>
<tr>
<td colspan="2"
style="background-color:#ffffff;color:#999999;
font-family:'open sans',verdana; font-size:10px;
font-weight:normal;padding-top:16px;" valign="top"
width="683" height="103">
<p> UWAGA: Ta wiadomość oraz wszelkie załączniki są
przeznaczone wyłącznie dla adresata korespondencji
e-mail. Jeśli otrzymałeś ten e-mail przez pomyłkę,
prosimy niezwłocznie powiadom nadawcę i usuń przesyłkę
ze swojego systemu wraz ze wszystkimi załącznikami.
Kopiowanie, dystrybucja, ujawnianie i inne wykorzystanie
przesyłki e-mail, bez zgody nadawcy, jest zakazane. </p>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>