From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 07:15:12 2012 Return-Path: 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 341751065678 for ; Mon, 9 Jul 2012 07:15:12 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 990018FC22 for ; Mon, 9 Jul 2012 07:15:08 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q697EuJM013163 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 9 Jul 2012 08:15:03 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q697EuJM013163 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1341818103; bh=oGVELC5E/mZYKFvg8G1q7HCLNB2NoBo8dIg/PK8E38E=; h=Date:From:To:CC:Subject:References:In-Reply-To:Content-Type: Message-ID:Mime-Version; b=tShvlgtoDa9sEqIwPLHFK/sn7nvBuV5uMlEspQnHboBiMgMvnnifWt7vYOTOe/9Xf GFWZGtF/PUS45ArreFqrBSQBHJYz1PQBUINmoAmNW5P0CC/E4++aDgmcKgIPCN1CxH ZlTs/7pznQbf+VzZAhl10mG+jh9lEXTVqaf26dJY= Message-ID: <4FFA84EA.3090501@infracaninophile.co.uk> Date: Mon, 09 Jul 2012 08:14:50 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Patrick Donnelly References: In-Reply-To: X-Enigmail-Version: 1.4.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig03CB0D6B3382AF800D1EEDD0" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_ADSP_ALL,DKIM_SIGNED,T_DKIM_INVALID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: power failure, boot, and fsck 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: Mon, 09 Jul 2012 07:15:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig03CB0D6B3382AF800D1EEDD0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/07/2012 04:22, Patrick Donnelly wrote: > UFS: /dev/ad10s3f (/usr) > Automatic file system check failed, help! > error aborting boo (sending sigtem to parent)! > init: /bin/sh on /etc/rc terminated abnormally, going to single user mo= de. > enter full pathname of shell or RETURN for /bin/sh: >=20 > In single-user mode I just `fsck /dev/da0s1a` and reboot. That fixes > the problem. However, I would like this to be automatic on boot. It > would be annoying if I'm out-of-town and the server cannot recover > without my help. Any tips? fsck does run automatically when a filesystem does not get shut down cleanly. However, fsck cannot fix all of the problems a filesystem can experience without risk of loss of data. In those cases, there is no option but to stop and ask the operator to intervene. Your best bet is to avoid an unclean shutdown entirely. Buy a UPS. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig03CB0D6B3382AF800D1EEDD0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/6hPAACgkQ8Mjk52CukIwpHwCfQsAzQwAWF7Ip3u8lTVVarwLV LecAnRfKyTASDFQy87onI2bhrYuQONwl =vNun -----END PGP SIGNATURE----- --------------enig03CB0D6B3382AF800D1EEDD0--