From owner-freebsd-questions Thu Apr 4 10:18: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp-6.ig.com.br (smtp-6.ig.com.br [200.226.132.155]) by hub.freebsd.org (Postfix) with SMTP id 4D70C37B625 for ; Thu, 4 Apr 2002 10:16:49 -0800 (PST) Received: (qmail 19961 invoked from network); 4 Apr 2002 18:16:30 -0000 Received: from adsl-fnsbnu-145-f.brt.telesc.net.br (HELO conrado) (200.180.8.145) by smtp-6.ig.com.br with SMTP; 4 Apr 2002 18:16:30 -0000 Message-ID: <005c01c1dc04$db10b650$0503a8c0@conrado> From: "Conrado Vardanega" To: Subject: Bad blocks Date: Thu, 4 Apr 2002 15:16:32 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 there. My hard disk had one or some bad blocks today. The following line appears in /var/log/messages when trying to read from the defective area. Apr 2 18:54:20 rock /kernel: ad2s1e: hard error reading fsbn 2917127 of 1458496-1458735 (ad2s1 bn 2917127; cn 181 tn 148 sn 38) status=59 error=40 My questions are: -- how do I check for bad blocks on my disk? (Better if doesn't requires to shutdown or format partitions/disks) -- what's the actually best way to mark bad blocks unusable? I've read something about bad144 but it seems to be obsolete in 4.0 line. Should I use manufacturers utility to mark them? Should I create brand new partitions after that or can I just keep data there? Thanks. --- Geraldo da Silva geraldo@flopnet.com.br To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message