From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 16:55:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7F5F116A46D for ; Mon, 4 Jun 2007 16:55:44 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from shanshito.webanoide.org (shanshito.webanoide.org [150.101.108.110]) by mx1.freebsd.org (Postfix) with ESMTP id D9A0313C45B for ; Mon, 4 Jun 2007 16:55:43 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from maxito.hba.navalradio.cl (maxito.hba.navalradio.cl [172.26.4.34]) (authenticated bits=0) by shanshito.webanoide.org (8.13.8/8.13.8) with ESMTP id l54GtQHP003564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 4 Jun 2007 16:55:30 GMT (envelope-from mikhailg@webanoide.org) Message-ID: <466443FD.9040702@webanoide.org> Date: Tue, 05 Jun 2007 02:55:25 +1000 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Matt Juszczak References: <20070604121447.D5399@saturn.atopia.net> In-Reply-To: <20070604121447.D5399@saturn.atopia.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Remote Server 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, 04 Jun 2007 16:55:44 -0000 Matt Juszczak wrote: > Hi all, > > I have a dedicated box with a hosting company. The power supply failed in > the box this morning, and the company replaced it and brought the box back > up. > > In my logs, I have: > > Trying to mount root from ufs:/dev/ad0s1a > WARNING: / was not properly dismounted > WARNING: /home was not properly dismounted > WARNING: /tmp was not properly dismounted > WARNING: /usr was not properly dismounted > /usr: mount pending error: blocks 80 files 1 > WARNING: /var was not properly dismounted > WARNING: /var/tmp was not properly dismounted > > In my opinion, this calls for an fsck in single user mode. Unfortunately, > I don't have access to the box. > > Is htis something I should have them do? It seems /usr is affected, and > the /var/log/messages shows a few other errors as well. > > What's the best way to go about fixing this. Should I ask them to `fsck > -y` from console in single user mode since I can't be there to look at the > prompts? It all depends on the severity of the situation. Next boot may fix your problem or it may not. It is a good idea to do it in single user mode but if you don't have console/physical access to the box then maybe this could help you: fsck_y_enable="YES" Just add that into the /etc/rc.conf, reboot and wait awhile. After the machine is up and running, fsck it and see if it throws any errors. Let us know how it goes. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: mikhailg@webanoide.org Web: www.webanoide.org