Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jul 2012 08:14:50 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Patrick Donnelly <pjd@batbytes.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: power failure, boot, and fsck
Message-ID:  <4FFA84EA.3090501@infracaninophile.co.uk>
In-Reply-To: <CABBCR0Y=E3D5Jw4eGg08a--Fyb5OVxC6gobVwk0d=HYANfXgfg@mail.gmail.com>
References:  <CABBCR0Y=E3D5Jw4eGg08a--Fyb5OVxC6gobVwk0d=HYANfXgfg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



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