Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2007 02:55:25 +1000
From:      Mikhail Goriachev <mikhailg@webanoide.org>
To:        Matt Juszczak <matt@atopia.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Remote Server FSCK
Message-ID:  <466443FD.9040702@webanoide.org>
In-Reply-To: <20070604121447.D5399@saturn.atopia.net>
References:  <20070604121447.D5399@saturn.atopia.net>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?466443FD.9040702>