LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FCoE Fibre Channel over Ethernet Target on LIO (https://www.linuxquestions.org/questions/linux-software-2/fcoe-fibre-channel-over-ethernet-target-on-lio-4175602058/)

WizadNoNext 03-18-2017 06:29 AM

FCoE Fibre Channel over Ethernet Target on LIO
 
I am trying to make use of my Intel AF DA Dual 10GbE Ethernet Network Interface Card by creating FCoE Target
I have successfully created other targets including Fibre Channel target on QLE2xxx cards (QLE2464, QLE2560, QLE2562 and QLE2564), FireWire and loopback (very useful, as you may backup whole Hard Disk Drive and then use such backups on loopback).
I want to use FCoE and iSCSI on my bonded Dual Port Intel AF DA NIC to use my SAS HDDs at full speed through those cards.
Unfortunately I am failing right at beginning

I am loading both modules needed
Code:

fcoe
and
Code:

tcm-fc
while
Code:

echo bond0 > /sys/module/fcoe/parameters/create
I have found file create simply does not exists
So I am stuck. I shall be compiling Linux 3.10 to see, if it is due to Debian Kernel or not.
Any insight into the subject might help. Even failures, as this might pin-point problem or show something I have not seen or even think about previously.

smallpond 03-19-2017 10:54 AM

Is the target_core module loaded?

WizadNoNext 03-20-2017 12:43 PM

I have loaded tcm_fc
Code:

modprobe tcm_fc
this would load target_core

I have wrote whole intruction how to do it, but LinuxQuestions is claiming I have logged in since I loaded this page, so my "quick Reply" disappeared. Sorry, but I shall not write it again. All I will add is that culprit is a wrong module

Code:

modprobe libfcoe
and then
Code:

echo eth6 > /sys/module/libfcoe/parameters/create
and it will work.
For my system eth6 is the one which I desire to use for this purpose, as eth0 is for WAN, eth1-eth4 is bridged (with eth0 as well, but that is complicated and beyond scope of this post) for other devices including my desktop, eth5 is ONLY for NAS (SMB and NFS) and eth6 is last on left. eth5 and eth6 are both 10GbE.

I have wrote whole instruction how to make FCoE target and allow some initiator to use, but it disappeared, so unfortunately it won't appear here.

WizadNoNext 03-20-2017 12:44 PM

I have loaded tcm_fc
Code:

modprobe tcm_fc
this would load target_core

I have wrote whole intruction how to do it, but LinuxQuestions is claiming I have logged in since I loaded this page, so my "quick Reply" disappeared. Sorry, but I shall not write it again. All I will add is that culprit is a wrong module

Code:

modprobe libfcoe
and then
Code:

echo eth6 > /sys/module/libfcoe/parameters/create
and it will work.
For my system eth6 is the one which I desire to use for this purpose, as eth0 is for WAN, eth1-eth4 is bridged (with eth0 as well, but that is complicated and beyond scope of this post) for other devices including my desktop, eth5 is ONLY for NAS (SMB and NFS) and eth6 is last on left. eth5 and eth6 are both 10GbE.

I have wrote whole instruction how to make FCoE target and allow some initiator to use, but it disappeared, so unfortunately it won't appear here.


All times are GMT -5. The time now is 04:20 AM.