running iscontrol at boot time

David Newman dnewman at networktest.com
Mon May 13 20:50:30 UTC 2013


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

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 freebsd-scsi  archives
or in the man pages. I asked on freebsd-scsi about 10 days ago, but
never got a response.

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

Thanks!

dn



More information about the freebsd-questions mailing list