From owner-freebsd-questions@FreeBSD.ORG Thu Aug 21 13:24:56 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 534781065699 for ; Thu, 21 Aug 2008 13:24:56 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (thavinci.za.net [196.211.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id 70E488FC58 for ; Thu, 21 Aug 2008 13:24:54 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (localhost.thavinci.za.net [127.0.0.1]) by thavinci.za.net (Postfix) with ESMTP id 85C5F1EEAFB for ; Thu, 21 Aug 2008 15:24:52 +0200 (SAST) Received: from thavinciPC (unknown [192.168.12.110]) by thavinci.za.net (Postfix) with ESMTP id 366DA1EEAF8 for ; Thu, 21 Aug 2008 15:24:52 +0200 (SAST) From: "Marcel Grandemange" To: Date: Thu, 21 Aug 2008 15:24:30 +0200 Message-ID: <016001c90391$3e9abf80$bbd03e80$@za.net> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckDkT2nqUC2NZqYS8yC47jpOXYtsA== Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: THE FOLLOWING DISK SECTORS COULD NOT BE READ 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: Thu, 21 Aug 2008 13:24:56 -0000 On a different dilemma, I have a FreeBSD proxy server with what looks like a failing drive. The drive ONLY holds cache so is not critical for system operation however id still like to try something. It seem that no matter how many times I run fsck it still comes up with same result, is there a way to isolate the bad sectors and use the replacement ones on drive? Or even just isolate so that I can continue using the drive for now. su-2.05b# fsck -y /dev/ad1s1d ** /dev/ad1s1d ** Last Mounted on /mnt/cache ** Phase 1 - Check Blocks and Sizes CANNOT READ BLK: 15430784 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 15430836, 15430837, 15430838, 1543 0839, 15430840, 15430841, 15430842, 15430843, 15430844, 15430845, 15430846, 1543 0847, ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 366612 files, 8044663 used, 1423024 free (125376 frags, 162206 blocks, 1.3% frag mentation) ***** FILE SYSTEM STILL DIRTY ***** ***** PLEASE RERUN FSCK ***** su-2.05b# fsck -y /dev/ad1s1d ** /dev/ad1s1d ** Last Mounted on /mnt/cache ** Phase 1 - Check Blocks and Sizes CANNOT READ BLK: 15430784 UNEXPECTED SOFT UPDATE INCONSISTENCY CONTINUE? yes THE FOLLOWING DISK SECTORS COULD NOT BE READ: 15430836, 15430837, 15430838, 1543 0839, 15430840, 15430841, 15430842, 15430843, 15430844, 15430845, 15430846, 1543 0847, ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 366612 files, 8044663 used, 1423024 free (125376 frags, 162206 blocks, 1.3% frag mentation) ***** FILE SYSTEM STILL DIRTY ***** ***** PLEASE RERUN FSCK *****