Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Aug 2009 11:11:55 +0200
From:      "Matthias Andree" <ma@dt.e-technik.tu-dortmund.de>
To:        "Cristiano Deana" <cristiano.deana@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: Turn off rebooting in single-user mode after fail.
Message-ID:  <op.ux8g5r1xt6kky0@merlin.emma.line.org>
In-Reply-To: <d8a4930a0907270355o2ef07c88hb93c05c48d1af0b6@mail.gmail.com>
References:  <659cf8870907270259m2e23769dxf416a3c86f9e8c50@mail.gmail.com> <d8a4930a0907270355o2ef07c88hb93c05c48d1af0b6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 27.07.2009, 12:55 Uhr, schrieb Cristiano Deana  
<cristiano.deana@gmail.com>:

> On Mon, Jul 27, 2009 at 11:59 AM, Paul P.<kamenka@gmail.com> wrote:
>> Hello.
>> How to turn off automatic reboot in single user mode after power fails  
>> or
>> sudden reset? Do i need to make passin value in fstab equal to zero  
>> just to
>> turn off automatic FSCK fs check?
>
> if i understood correctly:
>
> rc.conf:
> fsck_y_enable="YES"      # Set to YES to do fsck -y if the initial preen  
> fails.


This sort of disposed of 8 out of 13 GB on one of my systems after a  
growfs failure, and after a >24 hrs fsck run... I guess that rsync before  
fsck could have recovered quite a lot of such data (I can't tell, as I  
didn't have full image backups).

Probably not fsck's fault, but if there is a major file system corruption,  
it can wreak havoc.

-- 
Matthias Andree



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