![]() qla2xxx -00fc:1: ISP2432: PCIe (2.5GT/s x4) 0000:įurther down in the output, there is more activity with the qla2xxx driver: First of all, looking through dmesg output, this RHEL 7 workstation has loaded the driver for the Qlogic card. Good news! This just worked out of the box, no configuration needed. Now it is time to configure the Linux system as an FC initiator to test FC link and CTL target service.Ĭonfiguring a Linux Fibre Channel Initiator LUN Backend Size (Blocks) BS Serial Number Device IDĠ block 1953525168 512 MYSERIAL 0 671ABKPFS The service starts without any hiccups and one can now query CTL for status. Note that if there are any syntax errors in the ctl.conf file, the service will not start and will provide some clues as to where the errors are. Now it is time to start the CAM target layer (CTL) service on the system. After reading through the ctladm man page, I found the commands to bring the port online.Ġ YES camsim camsim 0 0 naa.500000012e445301ģ YES camtgt isp0 0 0 naa.2100001b320f1d96 ![]() The ctladm command shows the WWN when querying for CAM target layer ports.Ġ NO camsim camsim 0 0 naa.50000006f1d1ab01įrom the above output, it is clear that isp0 is not online. The “?” is because I do not know the World Wide Name (WWN) for the FC link. The config below is the most basic configuration, which has no authentication and simply serves the block device over FC port isp0. Next, the CAM target layer daemon (ctld) needs a configuration file that will describe what resources to serve. Modify /etc/rc.conf such that ctld_enable=”YES” is added. # ln -s /root/kernels/FCTARGET /usr/src/sys/amd64/conf/FCTARGETĪfter rebooting, the system is ready to be configured in FC Target mode. Options ISP_TARGET_MODE #Required for Target Modecd /usr/src I followed the steps from Justin’s blog:Īdd the following to the FCTARGET kernel configuration file: Isp0: Mailbox Command ‘ABOUT FIRMWARE’ failed (TIMEOUT)įC is supported by the system, but in order to have the system act as an FC Target, the kernel needs to be compiled with the ISP_TARGET_MODE option (as well as enabled ispfw to load run-time firmware onto the FC HBA. Isp0: Polled Mailbox Command (0x8) Timeout (100000us) (isp_reset:953) There is not a lot of HOWTO, guides, or general information about Fibre Channel and FreeBSD, but I found Justin Holcomb’s blog to be extremely helpful in getting started.Ĭonfiguring a FreeBSD Fibre Channel Targetįirst of all, /dev/ada1 is the disk drive I want to serve over # camcontrol devlistĪlso, during boot, FreeBSD recognizes my FC card (from dmesg output): I have a SATA harddrive in the FreeBSD box that is not currently being used, so the goal will be to serve it over Fibre Channel for the Linux workstation to use. I left one card in my Linux workstation, and put the other in the FreeBSD box. I downloaded the latest firmware for the devices and updated them using the EFI loader on my workstation. I bought two Qlogic 2460 4 Gb/s PCI Express FibreChannel Host Bust Adapters (HBAs) and 15ft. The node that serves a storage resource over the network is the Target, and the consumer of the storage resource is the Initiator. The most simple Fibre Channel network is a point-to-point system which has just two nodes. As such, I decided I would build a basic Fibre Channel system. I wanted to learn about iSCSI and Fibre Channel (FC) but I do not have access to any Enterprise hardware systems that would allow learning.
0 Comments
Leave a Reply. |