From: James Broadhead <jamesbroadhead@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] the same hard-drives, different number of sectors...
Date: Mon, 31 Oct 2011 09:38:02 +0000 [thread overview]
Message-ID: <CA+hid6EgBsYVF2S+xTPkZ+39e6oP3+Rh3jnO_dcL2Yp=OBUyGw@mail.gmail.com> (raw)
In-Reply-To: <CAK2H+efWEA6dsXwN+ZbuYq=qSec1v3oRy8_+Rzh2nZ3WRzJW5g@mail.gmail.com>
On 27 October 2011 20:35, Mark Knecht <markknecht@gmail.com> wrote:
> On Thu, Oct 27, 2011 at 11:41 AM, Jarry <mr.jarry@gmail.com> wrote:
>> Hi, perhaps someone could explain this to me:
>>
>> I have bouth two the same hard-drives. The same model
>> (Hitachi HUA722050CLA330), the same firmware (JP20A3EA),
>> the same size (500GB). Well, not exactly. Both hdparm
>> and fdisk report different number of sectors (976771055
>> versus 976773168). Although not a big difference, yet
>> I expected them to be exactly the same (want to use
>> them for raid1).
>>
>> So how is it possible they do not have the same number
>> of sectors? I have bought them from one supplier, even
>> their serial numbers are very close (only the last 2
>> characters out of 24 are different)...
>>
>> Jarry
>
> Maybe one has some stuff mapped out due to bad blocks found during
> manufacturing or something like that? Not sure what it will tell you
> but have you run smartctl on the drives and looked around at what they
> tell you to find any differences?
>
> - Mark
During normal operation, if a bad block is detected, that sector is
marked as 'bad', and a one of the free sectors (which are additional
to your totals) is allocated to replace it. This is called
Re-Allocating Sectors, and according to the Google paper[1], which
seems to be the only authoritative (non-marketing, non
industry-funded) source on hard-drive failure, re-allocated sectors
are indicative of impending drive failure. You can check your
Re-Allocated sector count using smartmontools (but I recommend that
you try gsmartcontrol in sunrise, which makes life easier).
This is made more complicated by the fact that if bad sectors (below a
manufacturing threshold) are detected in factory testing, they will
re-allocate them, and reset the SMART counter to Zero (the drive _is_
brand new after all!). Thus, you can buy two of the exact same model
of drive, and yet have different numbers of available sectors.
It is also possible that something entirely different is at play.
[1] labs.google.com/papers/disk_failures.pdf
prev parent reply other threads:[~2011-10-31 9:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 18:41 [gentoo-user] the same hard-drives, different number of sectors Jarry
2011-10-27 19:22 ` Michael Mol
2011-10-27 19:35 ` Mark Knecht
2011-10-31 9:38 ` James Broadhead [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='CA+hid6EgBsYVF2S+xTPkZ+39e6oP3+Rh3jnO_dcL2Yp=OBUyGw@mail.gmail.com' \
--to=jamesbroadhead@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/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