qla2xxx_npiv support

Tomasz Charoński t.charonski at beyond.pl
Wed May 13 07:48:34 UTC 2015


Dear Andy Grover, targetcli-fb Developers,

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.

To create NPIV WWN using qla2xxx you need:
1. Create FC host using vport_create:

echo '1111222233334444:5555666677778888' >
/sys/class/fc_host/host5/vport_create

After this new /sys/class/fc_host/hostX will appear, but NPIV WWN is not
discovered at FC switch yet.

2. Create the path:
/sys/kernel/config/target/qla2xxx_npiv/21:00:00:xx:xx:xx:xx:11 at 5555666677778888:1111222233334444

where "21:00:00:xx:xx:xx:xx:11" is physical WWN taken from port_name
(sed needed).

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.

NPIV WWNs are needed to make user-friendly failover between hosts.

I am eager to help you in this development, especially including testing
this functionality in our infrastructure.

Best regards,
-- 

Tomasz Charoński

Storage Administrator


	

Ul. M. Palacza 113
60-273 Poznań
tel.: +48 61 859 70 07
fax: +48 61 623 25 79
www.beyond.pl <http://www.beyond.pl>
biuro at beyond.pl <mailto:biuro at beyond.pl>

NIP: 782-23-24-152
KRS: 0000237620
Sąd Rejonowy Poznań-Nowe Miasto i Wilda w Poznaniu
VIII Wydział Gospodarczy Krajowego Rejestru Sądowego
Kapitał Zakładowy: 2 539 700,00 PLN

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/targetcli-fb-devel/attachments/20150513/dcf17a58/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cecijdbi.jpeg
Type: image/jpeg
Size: 5227 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/targetcli-fb-devel/attachments/20150513/dcf17a58/attachment-0001.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3788 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <https://lists.fedorahosted.org/pipermail/targetcli-fb-devel/attachments/20150513/dcf17a58/attachment-0001.p7s>


More information about the targetcli-fb-devel mailing list