Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2002 15:16:32 -0300
From:      "Conrado Vardanega" <cvspam@ig.com.br>
To:        <freebsd-questions@freebsd.org>
Subject:   Bad blocks
Message-ID:  <005c01c1dc04$db10b650$0503a8c0@conrado>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005c01c1dc04$db10b650$0503a8c0>