Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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 Open-FCoE.org), 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: http://open-fcoe.org/patchwork/patch/1859/. 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 devel@open-fcoe.org 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: mail-archive.com/devel@open-fcoe.org/msg03299.html. 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.