Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 May 2013 09:31:46 -0700
From:      David Newman <dnewman@networktest.com>
To:        freebsd-scsi@freebsd.org
Subject:   running iscontrol at boot time
Message-ID:  <51868972.804@networktest.com>

Next in thread | Raw E-Mail | Index | Archive | Help
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





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?51868972.804>