From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 25 20:41:24 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CDC516A40F for ; Mon, 25 Sep 2006 20:41:24 +0000 (UTC) (envelope-from tech@nano.net) Received: from mail.smallweb.com (mail.smallweb.com [216.85.125.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B09543D45 for ; Mon, 25 Sep 2006 20:41:18 +0000 (GMT) (envelope-from tech@nano.net) Received: from Sixpence.mail.smallweb.com (sixpence.nano.net [216.85.125.9]) by mail.smallweb.com (Rockliffe SMTPRA 5.3.11) with ESMTP id for ; Mon, 25 Sep 2006 14:49:13 -0600 Message-Id: <6.2.0.14.2.20060925142809.0300e3e0@nano.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Mon, 25 Sep 2006 14:41:18 -0600 To: freebsd-hackers@freebsd.org From: tech@nano.net In-Reply-To: <20060925190740.GI1154@turion.vk2pj.dyndns.org> References: <6.2.0.14.2.20060925123108.03038af0@nano.net> <20060925190740.GI1154@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: fsck X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2006 20:41:24 -0000 Hi Peter, The hard drive is in the fridge right now, in case it's a heat problem. It's FreeBSD version 4.x. It's getting hard read errors, and I'm using -y with fsck so it will continue on to the next error without prompting from me. The same thing happens whether I use the -y flag or not. It says that certain sectors are bad, moves on to the next bad sectors, and eventually says I need to rerun fsck. It's like "Groundhog Day", I get the same thing over and over and over... Nothing happened since the last boot, I was gzipping up the home folders to transfer to a new server (just in time I guess...) and it started getting really slowly. So I rebooted it from the command line and when it came back up it had problems. It has been restarted a few times in the past week and showed no errors at all before yesterday. It found the same type of errors on the /var partition and dealt with those without problems. So I'm wondering what the difference might be... The /var partition found errors, fixed them, and marked the partition as clean. Maybe I can mount a dirty partition..... I just need the data off it... At 01:07 PM 9/25/2006, you wrote: >On Mon, 2006-Sep-25 12:38:47 -0600, tech@nano.net wrote: > >I've got a /usr partition with some problems. During boot it fails and I'm > >prompted to run fsck manually. I do so and when fsck has finished it asks > >me to run it again, and again, and again...it seems to find the same errors > >each time. > >Can you give some more details please. >What version of FreeBSD is this? >What are the errors? >What options are you giving fsck? >What happened between the last time /usr fsck'd correctly and now? > >I don't have a script to re-create directories but it would be fairly >easy to write one. > >-- >Peter Jeremy