From owner-freebsd-questions Sun Jan 13 18:40:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f269.law9.hotmail.com [64.4.8.144]) by hub.freebsd.org (Postfix) with ESMTP id 4E36037B404 for ; Sun, 13 Jan 2002 18:40:32 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 13 Jan 2002 18:40:32 -0800 Received: from 24.222.74.252 by lw9fd.law9.hotmail.msn.com with HTTP; Mon, 14 Jan 2002 02:40:32 GMT X-Originating-IP: [24.222.74.252] From: "Matthew Rudderham" To: freebsd-questions@freebsd.org Subject: Reapiring bad blocks w/ fschk Date: Sun, 13 Jan 2002 22:40:32 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 14 Jan 2002 02:40:32.0316 (UTC) FILETIME=[D61207C0:01C19CA4] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, On a box I have running 4.3-Release I have been getting these messages every so often: Jan 11 20:47:11 cfxu /kernel: ad0s1a: hard error reading fsbn 58622143 of 2162752-2162767 (ad0s1 bn 58622143; cn 37220 tn 10 sn 13) status=59 error=40 I assume a few bad sectors have developed on the disk. When trying to install packages I'm often getting messages related to not being able to write within /var/ such as mktemp /var/tmp failed and could not add to /var/db/pkg/... Etc so I assume these are where the bad blocks have developed. I was wondering how I can mark these blocks as unusable so I can continue to use the system until I get a replacement drive. Also when running fsck normally it does show a few blocks it could not read from. Any help would be very appreciated, the fsck manual was not much help and the archives of -questions seems to be out of order. Many Thanks. Matt Rudderham Station Manager / Engineering matt@cfxu.ca CFXU Radio http://www.cfxu.ca Saint FX University _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message