From owner-freebsd-questions@FreeBSD.ORG Fri Dec 1 14:52:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 325AF16A415 for ; Fri, 1 Dec 2006 14:52:06 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAE4D43DFC for ; Fri, 1 Dec 2006 14:47:52 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 7037 invoked from network); 1 Dec 2006 14:47:48 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Dec 2006 14:47:48 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 3BD4B28431; Fri, 1 Dec 2006 09:47:47 -0500 (EST) To: Robert Davison References: <989739.2161.qm@web25008.mail.ukl.yahoo.com> From: Lowell Gilbert Date: Fri, 01 Dec 2006 09:47:46 -0500 In-Reply-To: <989739.2161.qm@web25008.mail.ukl.yahoo.com> (Robert Davison's message of "Thu, 30 Nov 2006 23:34:03 +0000 (GMT)") Message-ID: <44k61bn04t.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Automount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2006 14:52:06 -0000 Robert Davison writes: > I've just installed an external SCSI hard drive in the form of a sun StorEdge. All is working well. > > The StorEdge has two drives called da0 and da1 respectivly. > > I've put entries into /etc/fstab so that they are mounted on boot as /s and /t. My question is....... > > If I dont have the StorEdge running 24/7 and I reboot the server, the boot process fails when mounting the file systems as /s /t can not be reached. > > Is there anyway of writing an automount line in fstab that is smart enough to know that if the /s and /t are not reachable then continue with the boot process without stopping. My fstab enty is... > > /dev/da0s1d /s ufs rw 0 0 > > I see that the cdrom has the entry > > /dev/cd0 /cdrom cd9660 ro,noauto 0 0 > > Is it simply a case of changing the mount option to rw,noauto ?? To start with, yes. If you don't use "noauto", then the disk *has* to be there at boot. You might want to put in some devfs rules to mount the disks when they show up. Or an automounter.