[SATLUG] First question - RAID5 quit working - Conflicting results!

David Labens adlabens at swbell.net
Mon Aug 17 17:41:11 CDT 2009


Previously, I ran:
root at RCH-SERVER:/proc# smartctl /dev/sdc -d ata -l selftest
smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%      5829         16689727

Then, I just ran:
root at RCH-SERVER:/proc# smartctl /dev/sdc -d ata -H
smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

So, how can the drive show "healthy" BUT have a 90% "read failure"???

David Labens

San Antonio, TX

--- On Mon, 8/17/09, Don Wright <satlug at sbcglobal.net> wrote:

From: Don Wright <satlug at sbcglobal.net>
Subject: Re: [SATLUG] First question - RAID5 quit working
To: "The San Antonio Linux User's Group Mailing List" <satlug at satlug.org>
Date: Monday, August 17, 2009, 1:25 AM

On Sun, 16 Aug 2009 22:36:48 -0700 (PDT), David Labens
<adlabens at swbell.net> wrote:

>I've done apt-get to download & install smartctl.  But, the "short self-test" alludes me.  

The documentation (man page etc.) can be pretty confusing at first. The
smartmontools support an incredible variety of drives, only a few of
which are commonly found in PCs. Most of the options are to help
smartctl know what language and dialect the drive understands.

One thing you need to know is that smartctl is talking to the
microcontroller on the drive, and the drive's MCU is actually the one
running the tests.

Try "smartctl /dev/sda -d ata -t short"
the '-d ata' is recommended so smartctl knows that /dev/sda is a serial
ata device and not a SCSI drive.

The response will tell you how many minutes to wait. When time is up,
enter "smartctl /dev/sda -d ata -l selftest" to display the log. The top
line is the most recent test.

You can also use "smartctl /dev/sda -d ata -H" to get a quick report of
drive health. For more details on all of this see the smartctl man page,
or the website mentioned earlier. Once you have a few examples you
should start understanding the rest.  --Don

-- 
Migraine: All the fun of a hangover without the bother of 
getting drunk.
--
_______________________________________________
SATLUG mailing list
SATLUG at satlug.org
http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
Powered by Rackspace (www.rackspace.com)


More information about the SATLUG mailing list