All of lore.kernel.org
 help / color / mirror / Atom feed
From: Whit Blauvelt <whit@transpect.com>
To: reiserfs-list@namesys.com
Subject: Re: Marking bad blocks
Date: Sun, 20 Jul 2003 10:23:13 -0400	[thread overview]
Message-ID: <20030720142313.GA11319@free.transpect.com> (raw)
In-Reply-To: <20030720033004.GA6519@free.transpect.com>

Thanks for the various responses. The drive in question is a few years old,
so its own bad-block handling capabilities may not be the latest. 

The suggestion to "dd into the blocks" is intriguing. Does anyone have an
example of how to do that based on the "badblock" output of block numbers?
dd's man and info pages are terse, and I've only ever used dd for writing
images to floppies.

As for the suggestion that there's a problem with my gcc since I can't
compile add-bad-blocks.c - well, this is trying it with gcc on two different
systems: the first being an originally Red Hat 6.0 system where gcc has been
upgraded and compiled from the GNU sources, the second on a very current
Gentoo system where the gcc has is compiled from the Gentoo sources - so
what are the odds that two different versions of gcc on two different
systems and flavors of Linux both have the same problem, and it's gcc's
fault?

As for whether it's wise to replace hard drives at the first sign of
trouble. Yeah, it is. But there are instances like today where it's Sunday,
I'm in a rural location far from anyplace selling hard drives, I don't have
an equivalent drive on hand (wouldn't it be wonderful if we could all always
have a total supply of backup parts for our systems?). The important thing
for software is to keep the system going, with messages to the system
operator about anything consequential. Allowing a failure of a bad block on
a hard drive to be a cause of system failure - when programming a file
system to gracefully handle bad blocks is old hat - isn't consistent with
the belt-and-suspenders philosophy that's the heart of good systems
administration. (Of course, not having a complete set of spare parts isn't
consistent either - but software features are cheaper to distribute than is
hardware).

It's encouraging that some sort of bad block handling is planned for the
next version of Reiser utilities.

Whit

      parent reply	other threads:[~2003-07-20 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-20  3:30 Marking bad blocks Whit Blauvelt
2003-07-20  9:17 ` Rudy L. Zijlstra
2003-07-20 22:59   ` Szakacsits Szabolcs
2003-07-20 10:39 ` Vitaly Fertman
2003-07-20 14:23 ` Whit Blauvelt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030720142313.GA11319@free.transpect.com \
    --to=whit@transpect.com \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.