Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 18:25:02 +0100
From:      Matias Surdi <matiassurdi@gmail.com>
To:        Matias Surdi <matiassurdi@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Filesystem tunning
Message-ID:  <720ff42b0901210925h13871dd4kae557680576741a2@mail.gmail.com>
In-Reply-To: <20090121171447.GB13963@lava.net>
References:  <gl6v9g$mdc$1@ger.gmane.org> <20090121171447.GB13963@lava.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This should work. I'll try it.

Thanks for the idea

2009/1/21 Clifton Royston <cliftonr@lava.net>:
> On Wed, Jan 21, 2009 at 12:01:04PM +0100, Matias Surdi wrote:
>> Hi,
>>
>> Is there any way to avoid the system going to single user mode when a
>> secondary storage device cannot be mounted?.
>>
>> I mean, if all system filesystems are OK, how can set up a device with a
>> custom mount point so that when it's tried to mount at boot time and
>> fails doesn't cause the system to be in single user mode?
>>
>> I know that if in fstab I set the last parameter to "0" checking will
>> not be made at boot time, but instead what I want is the check to be
>> run, correct any automatically correctable error, and continue booting
>> anyway, despite the result of the check.Later a custom script will check
>> the filesystem and send a mail, for example.
>
> Try this:
>
>  Set to "noauto" in /etc/fstab, and add a custom script to run at the
> end of the boot process to check and mount your special device if it's
> OK, and do whatever additional processing you want if not.
>  -- Clifton
>
> --
>    Clifton Royston  --  cliftonr@iandicomputing.com / cliftonr@lava.net
>       President  - I and I Computing * http://www.iandicomputing.com/
>  Custom programming, network design, systems and network consulting services
>



-- 
Matias Emanuel Surdi.
http://lounicoquefaltaba.com.ar



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?720ff42b0901210925h13871dd4kae557680576741a2>