From owner-freebsd-fs@FreeBSD.ORG Wed Sep 3 14:36:30 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D87016A4BF for ; Wed, 3 Sep 2003 14:36:30 -0700 (PDT) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2EBB43FDF for ; Wed, 3 Sep 2003 14:36:28 -0700 (PDT) (envelope-from arno@heho.snv.jussieu.fr) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.12.9/jtpda-5.4) with ESMTP id h83LaR9U001589 for ; Wed, 3 Sep 2003 23:36:27 +0200 (CEST) Received: from heho.snv.jussieu.fr (localhost [127.0.0.1]) h83LaRTe027921 for ; Wed, 3 Sep 2003 23:36:27 +0200 (MEST) Received: (from arno@localhost) by heho.snv.jussieu.fr (8.12.9/8.12.9/Submit) id h83LaR94027918; Wed, 3 Sep 2003 23:36:27 +0200 (MEST) To: freebsd-fs@freebsd.org From: arno@heho.snv.jussieu.fr (Arno J. Klaassen) Date: 03 Sep 2003 23:36:26 +0200 Message-ID: Lines: 51 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Antivirus: scanned by sophie at shiva.jussieu.fr Subject: very slow fsck on bad disk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 21:36:30 -0000 hello, is this normal ? : - I have a 40G IBM Deskstar IDE disk, about 1-2 years old, connected to some -stable Pentium-Pro box - a while ago, I got lots of "disk errors", I decided to reboot the box, but then it did not recognise the disk any longer (so I pulled ou the (data) disk) - ... - Time passed, I found out that the last backup of that disk was rather old, and I'd like to spend some time to get of the disk whatever is still readable - I manage to find an ASUS-AMD MB, running 5.1-RELEASE whos BIOS accepts the disk as secondary master - I could not mount the disk, since "I/O Error" or something like that - I started : fsck_ffs -y -b 32 /dev/ad2s1e I started this .... "last saturday" and it's still running. When I look at the dmesg or /var/log messages, my eye got triggered by this : Sep 3 23:02:27 tabarnac kernel: ad2: hard error cmd=read fsbn 16405947 status=59 error=40 Sep 3 23:02:32 tabarnac kernel: ad2: hard error cmd=read fsbn 16405948 status=59 error=40 Sep 3 23:02:37 tabarnac kernel: ad2: hard error cmd=read fsbn 16405949 status=59 error=40 Sep 3 23:02:42 tabarnac kernel: ad2: hard error cmd=read fsbn 16405950 status=59 error=40 Sep 3 23:02:47 tabarnac kernel: ad2: hard error cmd=read fsbn 16769183 of 16769183-16769310 status=59 error=40 Sep 3 23:02:52 tabarnac kernel: ad2: hard error cmd=read fsbn 16769183 status=59 error=40 Sep 3 23:02:57 tabarnac kernel: ad2: hard error cmd=read fsbn 16769184 status=59 error=40 Sep 3 23:03:02 tabarnac kernel: ad2: hard error cmd=read fsbn 16769185 status=59 error=40 i.e., for a long time, every five seconds the error says "next block" then suddenly, it says "no more errors in between blocks 16405950 and 16769183" (i.e. 363233 blocks ....) and once again 5 seconds later it says "next block bad as well" Am i wrong or does this smell like "each surface error is queued for syslog, syslog print is triggered every 5 seconds, progress on fsck ata-disks is hold until next syslog message is printed" Thank you very much in advance. Arno