Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have:

  • Ubuntu 10.04.2 LTS installed
  • MegaRAID controller with 2 virtual RAID10 drives.
  • 2x 10GbE dual port adapters (Supermicro AOC-STGN-I2S aka Intel 82599)

We need to make those Megaraid drives available to ESX(i) servers, as datastores, via FCoE.

I googled around and found no guides how to achieve that. There seems to be a fcoe-utils package in Ubuntu but having installed that, reading the man and trying something logical like creating an instance of FCoE took me only this far:

root@storagebox:~# modprobe fcoe
root@storagebox:~# fcoeadm -c eth2
root@storagebox:~# fcoeadm -i
No FCoE interfaces created.

Could anyone write a nice-to-follow guide how to make FCoE target out of Ubuntu, please?

share|improve this question
up vote 2 down vote accepted

I do not believe that Ubuntu packages a FCoE target. So, what you're doing with the above commands is trying the 'create' or start FCoE, as an initiator, on eth2. The fcoe-utils package, at least upstream (i.e. on, does not support a target mode.

So, you're barking up the wrong tree, but how do you get a working FCoE target?

The biggest problem with answering this question is that there are multiple FCoE targets floating around of varying age (i.e. bit rot) and stability. The most current and well tested FCoE target, to my knowledge, is the TCM based FCoE target that was recently posted upstream. See this patch: It has not been accepted yet, but it is targeted for the 2.6.40 merge window. Aside from this patch to enable kernel support the fcoe-utils suite will need code changes for fcoeadm/fcoemon to support target mode. There are currently a few outstanding issues regarding the user's selection of running in initiator or target mode and I'm not aware of any existing code for fcoe-utils and target mode.

On top of that upstream work these changes will need to make their way into distros, Ubuntu in this case.

So, I guess I don't have a great answer for you other than to say FCoE target is coming soon, but until then you'll probably need to do some source level patching. Check the mailing list archives as you can probably find other threads about how to get a FCoE target working from source.

One other thing to point out is that configuring the TCM based FCoE target requires you to use the lio-utils package to get the TCM managemt applications.

I hope this helps, //Rob

share|improve this answer
Thanks!!! Found it: But just by looking at this guide I can feel the chore it would be to set it up. After it's up and the new kernel version comes out... have redo all. That hinders upgrades. I really thought I was missing something obvious like aptitude install open-fcoe-target and edit /etc/open-fcoe/open-fcoe.conf. You mentioned 2.6.40 as being a target. By looking at the News page, that won't happen until at least midsummer. And then it must reach the next Ubuntu release. I think I'll stick to ISCSI in the meantime. – Henno Apr 22 '11 at 10:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.