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

Re: Hard drive failing? [OT]



On 4 October 2011 20:00, Henrique de Moraes Holschuh <hmh@debian.org> wrote:
> On Tue, 04 Oct 2011, Mark Panen wrote:
>> I am running "smartctl -t long /dev/xxx" how do i  get the output of
>> the log file once it's finished? man page is unclear.
>
> smartctl --xall will tell you everything and then some.  If it doesn't
> work, use smartctl -a.
>
> You probably also want to use "-d sat" on all smartctl commands if it is
> an directly attached ATA device (i.e. not USB, and not connected through
> a hardware RAID card).
>
> --
>  "One disk to rule them all, One disk to find them. One disk to bring
>  them all and in the darkness grind them. In the Land of Redmond
>  where the shadows lie." -- The Silicon Valley Tarot
>  Henrique Holschuh

smartctl -l selftest /dev/sdc1
smartctl 5.40 2010-07-12 r3124 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, 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  Extended offline    Completed: read failure       90%     17291
      1019262483
# 2  Short offline       Completed: read failure       90%     17291
      1019262483
# 3  Extended offline    Completed: read failure       90%     17290
      1019262483
# 4  Extended offline    Completed: read failure       90%     17267
      1019262483
# 5  Extended offline    Completed: read failure       90%     17267
      1304384272
# 6  Short offline       Completed: read failure       90%     17267
      1019262483
# 7  Extended offline    Completed: read failure       90%     14560
      1019262483
# 8  Extended offline    Completed: read failure       90%     14511
      1019262483

-- 
Cheers
Mark


Reply to: