From: "Norman Diamond" <ndiamond@wta.att.ne.jp>
To: "Andries Brouwer" <aebr@win.tue.nl>
Cc: "Hans Reiser" <reiser@namesys.com>, <linux-kernel@vger.kernel.org>
Subject: Re: ReiserFS, two oddities
Date: Sun, 26 Oct 2003 22:43:27 +0900 [thread overview]
Message-ID: <374301c39bc7$27f83140$24ee4ca5@DIAMONDLX60> (raw)
In-Reply-To: 20031026122040.GA9906@win.tue.nl
Andries Brouwer replied to me:
> > This is tangential to my observations about bad blocks (which the disk's
> > firmware refused to reallocate during reads, writes, and S.M.A.R.T. long
> > self-tests). I have had two odd observations which seem related to
> > ReiserFS on perfectly good blocks.
> >
> > Here is partial output from fdisk's p command, copied by hand:
> > /dev/hda8 18169578 29431079 5630751 83 Linux
> >
> > The sector is readable if I ignore partitions:
> > # dd if=/dev/hda of=/dev/null bs=512 skip=29431074 count=1
> > 1+0 records in
> > 1+0 records out
> > but not if I address it from inside the partition:
> > # dd if=/dev/hda8 of=/dev/null bs=512 skip=11261496 count=1
> > dd: reading `/dev/hda8': Input/output error
> > 0+0 records in
> > 0+0 records out
> >
> > LBA sector number 29431074 is inside the partition. 18169578 + 11261496
> > = 29431074, verified several times. 11261496 / 2 = 5630748, verified
> > only twice, but it is within the quantity of 1K Linux blocks that the
> > partition has. Why is the sector unreadable when read from inside the
> > partition?
>
> If I understand you correctly, there may never have been a bad block.
> That is good for Toshiba, no reason to say bad things about their disks.
Dream on. LBA sector number 29431074 might or might not be near LBA sector
number 19021882, but 19021882 was indeed bad. I already posted the filename
of the file which used to contain that block (it took about two days of
"find"ing and "cp"ing to /dev/null to find which file it was), and already
posted several of my dd's of the LBA sector number in the non-partitioned
device /dev/hda. Dr. Brouwer, you know quite a lot about disks, how could
you possibly pick on the situation with sector 29431074 and pretend that
this explains the ton of observations about sector 19021882?
> Also, if there was no bad block, then no reallocation is needed.
Hey, I've received about 30 spams today trying to sell the kind of drugs
that you seem to have taken today.
By the way, after sector 19021882 was reallocated, the S.M.A.R.T log showed
that the number of reallocations had increased from 3 to 4. And further
reads had no more failures and no more reallocations after that one finally
took place. So the drive even disagrees with you, although it took ages and
an unknown amount of experiments to get it there.
Dr. Brouwer, I know that you know more about disk drives than you pretend to
in this message. Please try to avoid spreading misinformation.
> You show that dd reads this sector without problems.
> But you see an I/O error when it is just at the edge of the partition.
> That I/O error may well be generated by Linux, not by the disk.
Yes, this one was, as explained by Oleg Drokin because of the 4K cluster
size in ReiserFS. This is still unrelated to the genuinely bad block.
> [didnt you get error messages in dmesg?]
I get so many boot errors about other things that scroll off the screen
without getting into dmesg, sometimes I wonder why I still bother testing.
Meanwhile, dmesg has a few comments from ReiserFS about properly
initializing itself with respect to partitions, but no boot-time errors in
ReiserFS.
prev parent reply other threads:[~2003-10-26 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-26 7:37 ReiserFS, two oddities Norman Diamond
2003-10-26 8:47 ` Oleg Drokin
2003-10-26 12:20 ` Andries Brouwer
2003-10-26 13:43 ` Norman Diamond [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='374301c39bc7$27f83140$24ee4ca5@DIAMONDLX60' \
--to=ndiamond@wta.att.ne.jp \
--cc=aebr@win.tue.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=reiser@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox