All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ric Wheeler <ric@emc.com>
To: David Masover <ninja@slaphack.com>
Cc: Hans Reiser <reiser@namesys.com>, Peter <sw98234@hotmail.com>,
	reiserfs-list@namesys.com
Subject: Re: FEATURE Req: integrate badblocks check into fsck.reiser*
Date: Thu, 07 Sep 2006 13:10:55 -0400	[thread overview]
Message-ID: <4500529F.2040603@emc.com> (raw)
In-Reply-To: <4500472F.7050902@slaphack.com>

David Masover wrote:
> Ric Wheeler wrote:
>>
>> I think that you are missing the way modern drives behave.  To give a 
>> typical example, on a 300 GB drive, we typically have 2000 or more 
>> extra sectors that are used for automatic remapping.  Theses sectors 
>> are consumed only when the drive retries a failed write multiple times.
> 
> 
> Oh, I'm not disputing that mkfs should discourage users from using 
> broken drives.  Presumably, smart admins wouldn't see this often, 
> because they'd be monitoring SMART.
> 
>> We really, really do not need a list of bad blocks to avoid during 
>> writing a new file system image.
> 
> 
> Why do you presume to make this decision for users?

It's not a decision that I want to make for users, it is a decision that 
Hans and his team need to make about how best to spend their limited 
resources.

Allowing users to put down reiser3/4 file systems on crap drives takes 
effort on their part and will result in an increased work load.

It will also give more users a bad experience with the file system, 
since users rarely have the in depth knowledge required to make this 
kind of choice.

> 
> I don't think we need CONFIG_LEGACY_PTYS -- they're insecure, and almost 
> never needed.  But we should still leave them in.  The burden is on us 
> to show that it's taking real work to implement and maintain.

This is a request for a new feature to allow users to do something, by 
design, that is extremely likely to lose all of their data. Not to 
extend support for an existing (braindead) legacy.

> 
>> I think that the more interesting case is handling bad blocks during 
>> recovery.  It is not clear to me that fsck needs a list, but we have 
>> worked with Hans and Vladamir to get support for doing a reverse 
>> mapping (given a list of bad blocks, show the user what files, etc got 
>> hit).
> 
> 
> Yes, it seems like fsck would be much better off that way.  In this 
> case, of course, I'd prefer to avoid hitting that problem -- use RAID, 
> make regular backups, toss out the disk and restore.  Being able to 
> "repair bad blocks" would tend to encourage a user to keep using a bad 
> disk, but I don't want to force my opinion on everyone when there's a 
> reasonable way for all of us to be happy.

Here we mostly agree.  The need for enhanced tools is not to encourage 
people to keep using bad drives, rather to allow them to fsck & remount 
a drive for data recovery.  If you cannot mount & fsck fails to repair 
enough to give you at least a readable file system, then you are in real 
trouble ;-)

Also, unlike failing writes, disk read errors are quite often ephemeral 
and will be self correcting on the next write (you might get an error 
from dust, etc that gets "swept" clean on the next write).




  reply	other threads:[~2006-09-07 17:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-01 18:23 FEATURE Req: integrate badblocks check into fsck.reiser* Peter
2006-09-01 18:50 ` Vladimir V. Saveliev
2006-09-01 19:26   ` Hans Reiser
2006-09-01 22:27   ` David Masover
2006-09-01 23:00     ` Hans Reiser
2006-09-01 23:02     ` Peter
2006-09-01 23:12       ` David Masover
2006-09-01 23:16         ` Hans Reiser
2006-09-04  2:41         ` Ric Wheeler
2006-09-06  0:53           ` Hans Reiser
2006-09-06 15:08             ` David Masover
2006-09-07 10:35               ` Ric Wheeler
2006-09-07 16:22                 ` David Masover
2006-09-07 17:10                   ` Ric Wheeler [this message]
2006-09-07 17:35                     ` David Masover
2006-09-08 12:29                       ` Peter

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=4500529F.2040603@emc.com \
    --to=ric@emc.com \
    --cc=ninja@slaphack.com \
    --cc=reiser@namesys.com \
    --cc=reiserfs-list@namesys.com \
    --cc=sw98234@hotmail.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.