running iscontrol at boot time

David Newman dnewman at networktest.com
Sun May 5 16:39:36 UTC 2013


How to configure FreeBSD so that iscontrol runs at boot time, so that an
iSCSI initiator will mount a filesystem on an iSCSI target?

In this case the FreeBSD system is an iSCSI initiator. The
/boot/loader.conf file has 'iscsi_initiator_load="YES"' but iscontrol
does not run at boot time.

I believe iscontrol needs to run after the kernel module is loaded but
before a filesystem in /etc/fstab is mounted.

This works fine manually, but a reboot fails because the FreeBSD box
doesn't run iscontrol at boot time, and thus can't mount the filesystem
on the iSCSI target.

Pardon me if this has been asked before, as it seems like a standard
problem, but I couldn't find anything in recent archives or in the man
pages.

The initiator runs a generic FreeBSD 8.3-RELEASE/amd64 kernel.

Thanks!

dn




More information about the freebsd-scsi mailing list