From owner-freebsd-questions@FreeBSD.ORG Mon May 13 20:50:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CC5805ED for ; Mon, 13 May 2013 20:50:30 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail3.networktest.com (mail3.networktest.com [69.55.234.104]) by mx1.freebsd.org (Postfix) with ESMTP id B17729AF for ; Mon, 13 May 2013 20:50:30 +0000 (UTC) Received: from localhost (localhost [69.55.234.104]) by mail3.networktest.com (Postfix) with ESMTP id 66CC82560D7 for ; Mon, 13 May 2013 13:41:13 -0700 (PDT) Received: from mail3.networktest.com ([69.55.234.104]) by localhost (mail3.networktest.com [69.55.234.104]) (maiad, port 10024) with ESMTP id 30309-01 for ; Mon, 13 May 2013 13:41:11 -0700 (PDT) Received: from dhcp155.eng.networktest.com (ns.networktest.com [205.147.16.129]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail3.networktest.com (Postfix) with ESMTPSA id 7F1202560D2 for ; Mon, 13 May 2013 13:41:11 -0700 (PDT) Message-ID: <51914FE8.5020603@networktest.com> Date: Mon, 13 May 2013 13:41:12 -0700 From: David Newman Organization: Network Test Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: running iscontrol at boot time X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2013 20:50:30 -0000 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