Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Dec 2006 09:47:46 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Robert Davison <rob_27_preston@yahoo.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Automount
Message-ID:  <44k61bn04t.fsf@be-well.ilk.org>
In-Reply-To: <989739.2161.qm@web25008.mail.ukl.yahoo.com> (Robert Davison's message of "Thu, 30 Nov 2006 23:34:03 %2B0000 (GMT)")
References:  <989739.2161.qm@web25008.mail.ukl.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Davison <rob_27_preston@yahoo.co.uk> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44k61bn04t.fsf>