From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 6 02:45:46 2004 Return-Path: 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 CB67B16A4CE for ; Fri, 6 Aug 2004 02:45:46 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80DF243D70 for ; Fri, 6 Aug 2004 02:45:42 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id i762jcha014366; Fri, 6 Aug 2004 12:15:38 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Fri, 6 Aug 2004 12:15:37 +0930 User-Agent: KMail/1.6.2 References: <20040804181012.71953.qmail@web20423.mail.yahoo.com> In-Reply-To: <20040804181012.71953.qmail@web20423.mail.yahoo.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200408061215.38024.doconnor@gsoft.com.au> X-Spam-Score: -5.5 () CARRIAGE_RETURNS,FWD_MSG,IN_REP_TO,PGP_SIGNATURE,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: DH Subject: Re: Fwd: How to read bad blocks error message & marking of same X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2004 02:45:46 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 5 Aug 2004 03:40, DH wrote: > I've begun rec'ing these error messages: > > ad0s1a: hard error reading fsbn 141935 of 70848 - 71103 (ad0s1 bn 141935; > cn 8 tn 212 sn 59 ) status=3D59 error=3D40 > > Got about 7 of these with varying values. > > I ran Seagate's diag utility and it reported only 1 bad sector (# 71099 )= =2E=20 > Unfortunately ad0s1a happens to my / dir so allowing the utility to write > zeros to that block hasn't sat well with me. > > Sooo - if some one could explain the exact meaning of my error message & > point me in the right direction to use these values to fix my disk problem > I'd greatly appreciate it (with many many many thanks in advance :) ) I'd let the tool write a zero to that block and then fsck the disk. You can't read it now anyway, so it wouldn't make it any worse to write to = it=20 (and make the drive remap it) bn =3D block number cn =3D cylinder number tn =3D track number sn =3D sector number =2D --=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBEvDS5ZPcIHs/zowRAsoaAKCRgWmwcrRQ113zdqPZdtOb48svmACeMAj6 7/UQE6Gc2z/PXDC8m45SyAM=3D =3DMFcL =2D----END PGP SIGNATURE-----