LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2017, 06:29 AM   #1
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 131

Rep: Reputation: 9
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.
 
Old 03-19-2017, 10:54 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora 33
Posts: 3,608

Rep: Reputation: 1032Reputation: 1032Reputation: 1032Reputation: 1032Reputation: 1032Reputation: 1032Reputation: 1032Reputation: 1032
Is the target_core module loaded?
 
Old 03-20-2017, 12:43 PM   #3
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 131

Original Poster
Rep: Reputation: 9
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.
 
Old 03-20-2017, 12:44 PM   #4
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 131

Original Poster
Rep: Reputation: 9
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does someone implement fcoe (fibre channel over Ethernet)with NS3(network simulator)? He Yang Linux - Newbie 1 11-02-2016 07:31 AM
iscsi-lio-target configurations gone after reboots in yast jlovas SUSE / openSUSE 0 10-01-2016 12:54 AM
difference between Fibre Channel Controller & Fibre Channel Adapter & HBA hahacc Linux - Hardware 1 02-06-2012 03:52 PM
LIO pscsi target Ser Olmy Linux - Kernel 0 01-24-2012 12:32 PM
ethernet interface detected as fibre channel malayo Linux - Hardware 5 03-29-2011 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration