If your running a installation of RHEL of similar and you need to enter in rescue mode using CLI, prepare yourself to a battle.
Fist of all, you need to identify the network interface that support FCoE and then loads the specific kernel modulo to bring it on.
Let’s check the network cards vendor, in my case the network vendor is Broacom and the kernel modulo to this card is bnx2fc.
# lspci | grep -i ethernet
We need to load the kernel module.
# modprobe bnx2fc
Get the list of network interfaces that supports FCoE.
# ip -o | grep fcoe
Bring the network interface up.
# ifconfig eth3 up
Bring the FCoE interface up.
# fipvlan -c -s -f "-fcoe" eth3
Now you can list FCoE interfaces and LUN storage.
Show detailed information about the discovered SCSI LUNs associated with the FCoE instance on the specified network interface.
# fcoeadm -l
Show information about the discovered targets associated with the FCoE instance on the specified network interface. If no network interface is specified, information about discovered targets from all FCoE instances will be shown.
# fcoeadm -t
Show information about FCoE interfaces.
# fcoeadm -i