Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2013 13:41:12 -0700
From:      David Newman <dnewman@networktest.com>
To:        freebsd-questions@freebsd.org
Subject:   running iscontrol at boot time
Message-ID:  <51914FE8.5020603@networktest.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51914FE8.5020603>