Read error causes a drive to go off-line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a RAID-5 with 7 18 Gig disks.
When I have a read error or write error the disk is failed by md.
I have an Adaptec SCSI card.  When I run the verify on the "bad" disk
it "corrects" the bad spot.  I can then boot and it will re-build the disk.

I have done this 3 or 4 times in the last 1-2 years.

The drives are Seagete SX118202LS (18 Gig).

I have Seagate's SeaTools.  The tools allow me to adjust some drive
parameters, 2 of which I think I should change.

Automatic Write Reallocation Enable (AWRE):
  On, drive automatically relocates bad blocks detected during write operations.
  Off, drive creates Check Condition status with sense key of Medium Error if
       bad blocks are detected during write operations.

Automatic Read Reallocation Enable (ARRE):
  On, drive automatically relocates bad blocks detected during read operations.
  Off, drive creates Check Condition status with sense key of Medium Error if
       bad blocks are detected during read operations.

Both are off.
I think MD would not know that a bad block exists if these were on.
I think ARRE is somewhat wrong in the discription.  I bet it will generate
a sense key of Medium Error if it can't read a block, unless it is a
correctable error.

Anyway, does anyone know what would be best?

Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux