From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 09:46:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 708A21065672 for ; Mon, 9 Jul 2012 09:46:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id D01B48FC15 for ; Mon, 9 Jul 2012 09:46:43 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q699kd0c041001; Mon, 9 Jul 2012 11:46:39 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q699kdpt040998; Mon, 9 Jul 2012 11:46:39 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 9 Jul 2012 11:46:39 +0200 (CEST) From: Wojciech Puchar To: Patrick Donnelly In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 09 Jul 2012 11:46:39 +0200 (CEST) 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 09:46:44 -0000 > After a power failure at home, my FreeBSD server automatically starts > again but fails to mount my UFS /boot disk because it was not properly > unmounted. Here is my fstab: > > $ cat /etc/fstab > # Device Mountpoint FStype Options Dump Pass# > /dev/da0s1a /boot-disk ufs rw 0 0 why 0 and 0? no fsck for boot-disk? BTW wouldn't rw,noauto be helpful or /boot-disk is actually needed after boot? > that looks like (copied from another thread; devices and mount points > don't match): > > 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 mode. > enter full pathname of shell or RETURN for /bin/sh: fsck_y_enable=YES something must be seriously wrong anyway if you boot partition (that is mostly untouched) got corrupted! check out things a bit. BTW. Enable ahci it really works better