From owner-freebsd-questions@FreeBSD.ORG Wed Jan 23 16:25:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E242C76D for ; Wed, 23 Jan 2013 16:25:10 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-057.chi1.dsl.speakeasy.net [64.81.227.57]) by mx1.freebsd.org (Postfix) with ESMTP id 7F8B3E91 for ; Wed, 23 Jan 2013 16:25:07 +0000 (UTC) Received: from i7-quad-PC.computinginnovations.com (dhcp-10-20-30-142.computinginnovations.com [10.20.30.142]) by betty.computinginnovations.com (8.14.5/8.14.3) with ESMTP id r0NGOldw057746; Wed, 23 Jan 2013 10:24:47 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20130123101917.069e4328@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 23 Jan 2013 10:24:38 -0600 To: Polytropon , Hrisikesh sahu From: Derek Ragona Subject: Re: Fresh installation 9.1 In-Reply-To: <20130123153004.cfdcd3de.freebsd@edvax.de> References: <20130123153004.cfdcd3de.freebsd@edvax.de> Mime-Version: 1.0 X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner-ID: r0NGOldw057746 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2013 16:25:10 -0000 At 08:30 AM 1/23/2013, Polytropon wrote: >On Wed, 23 Jan 2013 19:49:13 +0530, Hrisikesh sahu wrote: > > Hi All, > > I am facing a strange issue.. > > I installed 9.1 release and installation went successful > > After boot up i got this error - > > > > > > File system had an unexpected inconsistency. > > > ufs : /dev/ada0s1d (/var) > > unknown error ; ! Help > > Error - Aborting Boot > > > > Going to single user mode. > > > > # > > > > > > Please help me if i need to do anything else. > >It seems that the /var partition has not been unmounted >properly. Perform a manual file system check and retry. > >The command > > # fsck -yf /dev/ada0s1d > >should be applied in single user mode, with /var being >unmounted. > >To make sure file systems are clean _prior_ to booting >the system, put > > background_fsck="NO" > >into /etc/rc.conf; this may lead to longer startup times >when something is "strange" regarding file systems, but >it will prevent you from booting into a possibly damaged >environment (which could cause more trouble and maybe even >data loss, which justifies the longer boot time in my >opinion). > I setup a number of servers with 9.1 and had the same issue. I'm not sure why, all of the installation went with no errors. I ended up with this in rc.conf: fsck_y_enable="YES" background_fsck="NO" force_fsck="YES" After a few reboots I was able to take it out. Also if you have this in /etc/rc.conf: dumpdev="YES" It always does a dump even on reboot, which also marks the filesystems as dirty. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.