From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 15:35:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F61416A41F for ; Mon, 2 Jan 2006 15:35:17 +0000 (GMT) (envelope-from iqgrande@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2C3443D58 for ; Mon, 2 Jan 2006 15:35:16 +0000 (GMT) (envelope-from iqgrande@gmail.com) Received: by wproxy.gmail.com with SMTP id i31so2160566wra for ; Mon, 02 Jan 2006 07:35:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=SjsGiC0HQE2h6DcmnmMNr2DX6rhHQH26J2Fg94rVxepMvhIODYrgh9VOrMwvPSoRIqLPV5cr1pz5tJesQqQAq//RIKvbdtZsvOqTM3XoTS6ZfNCKUZ55+glUUZTz6rL+Exjm3BW4w9y8v3jpbbKMU9QB9wyAG0ktQqiu/jXRis4= Received: by 10.54.110.19 with SMTP id i19mr387567wrc; Mon, 02 Jan 2006 07:35:15 -0800 (PST) Received: from ?192.168.0.2? ( [67.191.187.35]) by mx.gmail.com with ESMTP id 39sm9177134wrl.2006.01.02.07.35.15; Mon, 02 Jan 2006 07:35:15 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2B9E5D73-090D-4545-843B-47021314CADD@gmail.com> Content-Transfer-Encoding: 7bit From: Anthony M. Agelastos Date: Mon, 2 Jan 2006 10:35:13 -0500 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.746.2) Subject: Re: Help! Hard disk problems 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, 02 Jan 2006 15:35:17 -0000 On Jan 2, 2006, at 10:31 AM, Anthony M. Agelastos wrote: > > On Jan 1, 2006, at 11:28 PM, Anthony M. Agelastos wrote: > >> Hello all, >> >> In doing some routine items on my FreeBSD box, it started behaving >> oddly. I rebooted and to my surprise, I started receiving many >> messages displaying information regarding that /usr has issues. It >> puts me directly into single user mode and tells me to run fsck >> manually. When I run fsck all by itself, here is what it tells me: >> >> ** /dev/ad0s1f >> ** Last Mounted on /usr >> ** Phase 1 - Check Blocks and Sizes >> UNKNOWN FILE TYPE I=496000 >> UNEXPECTED SOFT UPDATE INCONSISTENCY >> >> CLEAR? [yn] >> >> This is the first time that I have ever run fsck and I have no >> idea what this message means or what the best course of action on >> CLEAR to take. Any input at all would be greatly appreciated >> (FreeBSD 6.0-STABLE if it helps). Thank you all so much for your >> assistance. >> >> -Anthony >> >> > After not getting any feedback, I decided to do > > fsck -y > > This returned my machine to usable. Before doing this while I was > just hitting "y" to the questions I did not understand, one of them > mentioned that it had to create a lost+found directory and after a > while that the directory was out of space. It asked me the question > to expand. So, I hit yes. Anyways, after all is said and done, that > filesystem has 500MB of more free space than it did before (it > doesn't take into account the fact that /usr/src is now empty and > the size of lost+found). What does the expand option do? Can I > safely delete lost+found? Like I mentioned before, this is my first > time in going through these types of issues and I have not found > any documentation that I can fully understand on fsck and what it > does. In any event, thank you all for your assistance. > Also, what methods are there in backtracking what the cause of the errors could have been? How can I tell if there is something wrong with the hard disk (bad blocks that cannot be used anymore, etc.)? I suppose what I intend to gather by these questions is if this drive can still be trusted, or if I should start looking at getting a new one. Any insight would be appreciated.