Re: unexplained SATA errors (RAID-5, LVM in use)

From: Steve Wolfe (unt_at_codon.com)
Date: 03/03/05


Date: Wed, 2 Mar 2005 18:01:05 -0700


> I'm running linux kernel 2.6.10 on a system with three 160G Samsung
> Spinpoint SATA drives, sda, sdb and sdc, each partitioned into four or
> five partitions.
>
> I got the following error today:
>
> Mar 1 04:41:10 localhost kernel: ata2: status=0x51 { DriveReady
SeekComplete Error }
> Mar 1 04:41:16 localhost kernel: ata2: error=0x40 { UncorrectableError }
>
> No other information was logged, and the same error appeared three
> more times within 7 seconds.
>
> I don't know for sure which drive is ata2, so I ran
>
> badblocks -s -o /tmp/badblocks.sd$i$j /dev/sd$i$j
>
> for i=a,b,c and for all appropriate j, but all of the output files
> were empty. During the badblocks run, the same error appeared once
> more.

  Look at the output of smartctl -a /dev/hd{x}. Badblocks won't necessarily
find something. Here's why:

  Every drive has a reserve of unallocted sectors, often around 200. When
the drive detects that a spot on the disk has failed, it will silently remap
that sector to one of the reserved sectors. When it does that, the data in
the sector may or may not have been lost. But, the next time you scan for
errors, the drive uses the good (reserved) sector instead of the bad one,
and you don't know about it. However, as long as SMART has been enabled on
the disk, the event will be logged, and you can find out about it. If the
drive has remapped ANY sectors, it's prudent to get a new drive. The exact
wording depends on the drive and manufacturer, but look for items like
"reallocated sectors", "offline uncorrectable", "reallocated event count",
etc..

  Now that I've said that, the error could also be in the electronics of the
drive, in which case you're kind of up the creek without a paddle.

steve



Relevant Pages

  • Re: Windows XP Partitions
    ... PowerQuest PartitionInfo 8.0 -- Windows NT/2000 Version ... Sectors per Cluster: 4 ... Disk Drives E and G are external Iomega drives ... back up the NFTS partition or do I have to backup all 3 partitions ...
    (microsoft.public.windowsxp.general)
  • Re: Advanced disk Format
    ... "Before you consider to buy/use one of the Western Digital GreenPower ... padding between logical partitions. ... I understand that 'alignment' becomes an issue due to digital drives ... sectors: Linux normally allocates filespace in 1 kilobyte blocks, ...
    (alt.os.linux)
  • Re: Event ID 11 - please help
    ... a ton of drives. ... > two more SATA WD 120 GB drives connected to the Promise controller ... > Offset Length Sectors ... > Type Indicator Partition Partition ...
    (microsoft.public.windowsxp.hardware)
  • Advanced disk Format
    ... "Before you consider to buy/use one of the Western Digital GreenPower drives you should be aware of their high Load_Cycle_Count value as a factory settings. ... I don't see where 2048 comes from, nor the requirement for 8 sector padding between primary partitions and even less so for 64 sector ... warns that these partitions contain an odd number of sectors: Linux normally allocates filespace in 1 kilobyte ...
    (alt.os.linux)
  • Re: Hard Disk Failure
    ... Does the HDD's OEM diagnostic tool see the full size of the HDD, ... Do you see anything in Disk Management that relates to the 160GB HDD, ... tool on the drives and this is the result. ... Sectors per Cluster: 8 ...
    (microsoft.public.windowsxp.hardware)