Thread (3 messages) 3 messages, 3 authors, 2004-09-17

Re: disk testing

From: Sebastien Koechlin <hidden>
Date: 2004-09-17 15:08:08

On Thu, Sep 16, 2004 at 10:50:05PM -0400, harry wrote:
Tim and Neil have suggested (apparently correctly) that the disk had a bad
sector and the firmware remapped it when I wrote to it. My question is,
how many spare sectors does the typical disk have? More importantly, since
the sector has been remapped, recreating the raid5 array worked fine, but
is a failure right out of the box normal? I was going to return it but
since its working now I'm not sure if I should or not.
Can you read SMART Attributes under any OS?

Every disk I use, have a SMART Reallocated_Sector_Ct Attribute:

------

# smartctl -A /dev/hde
smartctl version 5.32 Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID ATTRIBUTE_NAME        FLAG   VALUE WORST THRESH TYPE     UPDATED RAW_VALUE
 1 Raw_Read_Error_Rate   0x000f 065   063   006    Pre-fail Always  147852401
 3 Spin_Up_Time          0x0003 100   100   000    Pre-fail Always  0
 4 Start_Stop_Count      0x0032 100   100   020    Old_age  Always  0
 5 Reallocated_Sector_Ct 0x0033 100   100   036    Pre-fail Always  0
(...)

------

You should search for your hard-drive datasheet, but RAW_VALUE is probably a
counter of remapped sectors.

If RAW_VALUE is high, if VALUE is low and going near THRESH, it means you're
going to have troubles with this disk.

You can read http://www.linuxjournal.com/article.php?sid=6983

-- 
Seb, autocuiseur
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help