From owner-freebsd-fs@FreeBSD.ORG Tue Jan 3 18:53:39 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A8691065670 for ; Tue, 3 Jan 2012 18:53:39 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 185668FC14 for ; Tue, 3 Jan 2012 18:53:38 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so19102361obb.13 for ; Tue, 03 Jan 2012 10:53:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xDaqBGa0hxGGQlE5deeaEF4FclC7qGydVra7fV5uvDc=; b=eVQWfZHX+TpWKoiXp9uAvwWTTf01tVavHc+6mW9mxKkAz+xl6js2VdGUqDbspblzGJ kXpVCwh0TT/XeQ+5vlXqGAx3FlawiQHPwpYwmwqQXeGx0tvSgaEaWoyTby4KkuE6dBLA kay0PRcgRHqnQSueS53eYmQ1StdQ+de1m3ZRI= MIME-Version: 1.0 Received: by 10.182.42.37 with SMTP id k5mr45386977obl.40.1325615444285; Tue, 03 Jan 2012 10:30:44 -0800 (PST) Received: by 10.182.171.67 with HTTP; Tue, 3 Jan 2012 10:30:44 -0800 (PST) In-Reply-To: <4F032422.2050006@ibl.fr> References: <4F032422.2050006@ibl.fr> Date: Tue, 3 Jan 2012 21:30:44 +0300 Message-ID: From: Sergey Kandaurov To: Karl Oulmi Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-fs@freebsd.org Subject: Re: Mount an iSCSI partition at startup X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 18:53:39 -0000 On 3 January 2012 19:52, Karl Oulmi wrote: > Hi all, > > I'm testing a freshbox with FreeBSD 9.0RC3 and an ISCSI SAN DELL MD3200i. > > I followed the howto here : > http://www.cyberciti.biz/faq/freebsd-iscsi-initiator-howto/ > > Everything is working fine and quick. > > The only thing I'am unable to succeed is to automaticaly mount the remote > iSCSI partition when I start my FreeBSD box. > > I tried some script via crontab (@reboot...) or via /usr/local/etc/rc.d/ but > nothing is working :( > > Furthermore I need a reliable solution because this box should become the > mail server of my company. > > If someone could help me, It would be nice. Hi. IIRC there is no rc support for iscontrol(8) in the tree yet. To the moment, two different versions were proposed to act exactly what you ask - mount a list of file systems specified elsewhere, and none of them committed due to lack of review. [I hope this will happen eventually.] http://lists.freebsd.org/pipermail/freebsd-rc/2010-January/001841.html http://lists.freebsd.org/pipermail/freebsd-rc/2010-May/001971.html -- wbr, pluknet