All pastes #59488 Raw Edit

nuambenzina

public text v1 · immutable
#59488 ·published 2006-05-29 01:32 UTC
rendered paste body
Mail version 8.1 6/6/93.  Type ? for help.
"/var/spool/mail/root": 4 messages 4 unread
>U  1 root@localhost.local  Mon May 29 01:56  30/1128  "SMART error (OfflineUncorrectableSector) detected on host: szand"
 U  2 root@localhost.local  Mon May 29 01:56  30/1131  "SMART error (CurrentPendingSector) detected on host: szandor"
 U  3 root@localhost.local  Mon May 29 03:01  39/1440  "LogWatch for szandor"
 U  4 root@localhost.local  Mon May 29 04:02  39/1440  "LogWatch for szandor"
& 1
Message 1:
From root@localhost.localdomain  Mon May 29 01:56:35 2006
Date: Mon, 29 May 2006 01:56:11 +0300
From: root <root@localhost.localdomain>
To: root@localhost.localdomain
Subject: SMART error (OfflineUncorrectableSector) detected on host: szandor

This email was generated by the smartd daemon running on:

   host name: szandor
  DNS domain: [Unknown]
  NIS domain: (none)

The following warning/error was logged by the smartd daemon:

Device: /dev/hda, 1 Offline uncorrectable sectors

For details see host's SYSLOG (default: /var/log/messages).

You can also use the smartctl utility for further investigation.
No additional email messages about this problem will be sent.
& 2
Message 2:
From root@localhost.localdomain  Mon May 29 01:56:35 2006
Date: Mon, 29 May 2006 01:56:11 +0300
From: root <root@localhost.localdomain>
To: root@localhost.localdomain
Subject: SMART error (CurrentPendingSector) detected on host: szandor

This email was generated by the smartd daemon running on:

   host name: szandor
  DNS domain: [Unknown]
  NIS domain: (none)

The following warning/error was logged by the smartd daemon:

Device: /dev/hda, 1 Currently unreadable (pending) sectors

For details see host's SYSLOG (default: /var/log/messages).

You can also use the smartctl utility for further investigation.
No additional email messages about this problem will be sent.

& 3
Message 3:
From root@localhost.localdomain  Mon May 29 03:01:40 2006
Date: Mon, 29 May 2006 03:01:39 +0300
From: root <root@localhost.localdomain>
To: root@localhost.localdomain
Subject: LogWatch for szandor


 ################### LogWatch 7.1 (11/12/05) ####################
        Processing Initiated: Mon May 29 03:01:39 2006
        Date Range Processed: yesterday
                              ( 2006-May-28 )
                              Period is day.
      Detail Level of Output: 0
              Type of Output: unformatted
           Logfiles for Host: szandor
  ##################################################################

 --------------------- Disk Space Begin ------------------------

 Filesystem                            Size   Used  Avail Use%  Mounted on
 /dev/hda2                             8.6G   3.6G   4.7G  44%  /


 ---------------------- Disk Space End -------------------------


 ###################### LogWatch End #########################

                         /var/log/messages
__________________________________________________



May 29 01:56:10 szandor kernel: SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
May 29 01:56:10 szandor smartd[1513]: smartd version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
May 29 01:56:10 szandor smartd[1513]: Home page is http://smartmontools.sourceforge.net/
May 29 01:56:10 szandor smartd[1513]: Opened configuration file /etc/smartd.conf
May 29 01:56:10 szandor smartd[1513]: Configuration file /etc/smartd.conf parsed.
May 29 01:56:10 szandor smartd[1513]: Device: /dev/hda, opened
May 29 01:56:10 szandor smartd[1513]: Device: /dev/hda, found in smartd database.
May 29 01:56:10 szandor smartd[1513]: Device: /dev/hda, is SMART capable. Adding to "monitor" list.
May 29 01:56:10 szandor smartd[1513]: Monitoring 1 ATA and 0 SCSI devices
May 29 01:56:11 szandor smartd[1513]: Device: /dev/hda, 1 Currently unreadable (pending) sectors
May 29 01:56:11 szandor smartd[1513]: Sending warning via mail to root ...
May 29 01:56:11 szandor smartd[1513]: Warning via mail to root: successful
May 29 01:56:11 szandor smartd[1513]: Device: /dev/hda, 1 Offline uncorrectable sectors
May 29 01:56:11 szandor smartd[1513]: Sending warning via mail to root ...
May 29 01:56:11 szandor smartd[1513]: Warning via mail to root: successful
May 29 01:56:11 szandor smartd[1521]: smartd has fork()ed into background mode. New PID=1521.
May 29 01:56:11 szandor hpiod: 0.9.8 accepting connections at 50000...
May 29 01:56:13 szandor kernel: ppdev: user-space parallel port driver
May 29 01:56:14 szandor hpiod: ParDevice::nibble_read failed: Input/output error
May 29 01:56:34 szandor gpm[1632]: *** info [startup.c(95)]:
May 29 01:56:34 szandor gpm[1632]: Started gpm successfully. Entered daemon mode.
_______________________________
-only configuration source at position 0
May 29 02:27:08 szandor gconfd (nuambenzina-3562): Resolved address "xml:readwrite:/home/nuambenzina/.gconf" to a writable
configuration source at position 1
May 29 02:27:08 szandor gconfd (nuambenzina-3562): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-
only configuration source at position 2
May 29 02:56:12 szandor smartd[1521]: Device: /dev/hda, 1 Currently unreadable (pending) sectors
May 29 02:56:12 szandor smartd[1521]: Device: /dev/hda, 1 Offline uncorrectable sectors
May 29 03:26:11 szandor smartd[1521]: Device: /dev/hda, 1 Currently unreadable (pending) sectors
May 29 03:26:11 szandor smartd[1521]: Device: /dev/hda, 1 Offline uncorrectable sectors
May 29 03:56:11 szandor smartd[1521]: Device: /dev/hda, 1 Currently unreadable (pending) sectors
May 29 03:56:11 szandor smartd[1521]: Device: /dev/hda, 1 Offline uncorrectable sectors


Use smartctl -h to get a usage summary

[root@szandor ~]# smartctl -h
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Usage: smartctl [options] device

============================================ SHOW INFORMATION OPTIONS =====

  -h, --help, --usage
         Display this help and exit

  -V, --version, --copyright, --license
         Print license, copyright, and version information and exit

  -i, --info
         Show identity information for device

  -a, --all
         Show all SMART information for device

================================== SMARTCTL RUN-TIME BEHAVIOR OPTIONS =====

  -q TYPE, --quietmode=TYPE                                           (ATA)
         Set smartctl quiet mode to one of: errorsonly, silent

  -d TYPE, --device=TYPE
         Specify device type to one of: ata, scsi, marvell, 3ware,N

  -T TYPE, --tolerance=TYPE                                           (ATA)
         Tolerance: normal, conservative, permissive, verypermissive

  -b TYPE, --badsum=TYPE                                              (ATA)
         Set action on bad checksum to one of: warn, exit, ignore

  -r TYPE, --report=TYPE
         Report transactions (see man page)

============================== DEVICE FEATURE ENABLE/DISABLE COMMANDS =====

  -s VALUE, --smart=VALUE
        Enable/disable SMART on device (on/off)

  -o VALUE, --offlineauto=VALUE                                       (ATA)
        Enable/disable automatic offline testing on device (on/off)

  -S VALUE, --saveauto=VALUE                                          (ATA)
        Enable/disable Attribute autosave on device (on/off)

======================================= READ AND DISPLAY DATA OPTIONS =====

  -H, --health
        Show device SMART health status

  -c, --capabilities                                                  (ATA)
        Show device SMART capabilities

  -A, --attributes
        Show device SMART vendor-specific Attributes and values

  -l TYPE, --log=TYPE
        Show device log. TYPE: error, selftest, selective, directory

  -v N,OPTION , --vendorattribute=N,OPTION                            (ATA)
        Set display OPTION for vendor Attribute N (see man page)

  -F TYPE, --firmwarebug=TYPE                                         (ATA)
        Use firmware bug workaround: none, samsung, samsung2

  -P TYPE, --presets=TYPE                                             (ATA)
        Drive-specific presets: use, ignore, show, showall

============================================ DEVICE SELF-TEST OPTIONS =====

  -t TEST, --test=TEST
        Run test.  TEST is: offline short long conveyance select,M-N pending,N afterselect,on afterselect,off

  -C, --captive
        Do test in captive mode (along with -t)

  -X, --abort
        Abort any non-captive test on device

=================================================== SMARTCTL EXAMPLES =====

  smartctl -a /dev/hda                       (Prints all SMART information)

  smartctl --smart=on --offlineauto=on --saveauto=on /dev/hda
                                              (Enables SMART on first disk)

  smartctl -t long /dev/hda              (Executes extended disk self-test)

  smartctl --attributes --log=selftest --quietmode=errorsonly /dev/hda
                                      (Prints Self-Test & Attribute errors)
  smartctl -a --device=3ware,2 /dev/sda
          (Prints all SMART info for 3rd ATA disk on 3ware RAID controller)
[root@szandor ~]# smartctl -a /dev/hda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     ST3120026A
Serial Number:    5JT2J6E8
Firmware Version: 3.06
User Capacity:    120,034,123,776 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 2
Local Time is:    Mon May 29 04:23:47 2006 EEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

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

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (  25) The self-test routine was aborted by
                                        the host.
Total time to complete Offline
data collection:                 ( 430) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        No General Purpose Logging support.
Short self-test routine
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  85) minutes.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   063   056   006    Pre-fail  Always       -       25009039
  3 Spin_Up_Time            0x0003   099   096   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       525
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   082   060   030    Pre-fail  Always       -       8972137004
  9 Power_On_Hours          0x0032   089   089   000    Old_age   Always       -       10341
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always       -       2037
194 Temperature_Celsius     0x0022   039   053   000    Old_age   Always       -       39
195 Hardware_ECC_Recovered  0x001a   063   056   000    Old_age   Always       -       25009039
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       1
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       1
199 UDMA_CRC_Error_Count    0x003e   200   162   000    Old_age   Always       -       326
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
202 TA_Increase_Count       0x0032   100   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 294 (device log contains only the most recent five errors)
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 294 occurred at disk power-on lifetime: 10281 hours (428 days + 9 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 f5 c3 30 e0  Error: UNC at LBA = 0x0030c3f5 = 3195893

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 d8 08 ef c3 30 e0 00      00:06:37.394  READ DMA
  c8 d8 01 00 00 00 e0 00      00:06:37.393  READ DMA
  c8 d8 01 00 00 00 e0 00      00:06:37.381  READ DMA
  c8 d8 08 df c3 30 e0 00      00:06:37.369  READ DMA
  c8 d8 01 00 00 00 e0 00      00:06:33.383  READ DMA

Error 293 occurred at disk power-on lifetime: 10281 hours (428 days + 9 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 f5 c3 30 e0  Error: UNC at LBA = 0x0030c3f5 = 3195893

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 d8 38 df c3 30 e0 00      00:06:28.553  READ DMA
  c8 d8 01 00 00 00 e0 00      00:06:28.544  READ DMA
  c8 d8 01 00 00 00 e0 00      00:06:28.524  READ DMA
  c8 d8 20 46 d5 49 e0 00      00:06:28.524  READ DMA
  c8 d8 01 00 00 00 e0 00      00:06:33.383  READ DMA

Error 292 occurred at disk power-on lifetime: 10281 hours (428 days + 9 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 f5 c3 30 e0  Error: UNC at LBA = 0x0030c3f5 = 3195893

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 d8 08 ef c3 30 e0 00      00:06:28.553  READ DMA
  c8 d8 08 67 d7 30 e0 00      00:06:28.544  READ DMA
  c8 d8 08 a7 80 30 e0 00      00:06:28.524  READ DMA
  c8 d8 08 e7 c3 30 e0 00      00:06:28.524  READ DMA
  c8 d8 08 ef e4 2f e0 00      00:06:28.510  READ DMA

Error 291 occurred at disk power-on lifetime: 9698 hours (404 days + 2 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 01 bf cb 3e e1  Error: ICRC, ABRT 1 sectors at LBA = 0x013ecbbf = 20892607

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 03 08 b8 cb 3e e1 00      00:01:12.690  READ DMA
  c8 03 08 d8 31 20 e1 00      00:01:12.676  READ DMA
  c8 03 08 d0 31 20 e1 00      00:01:12.737  READ DMA
  c8 03 08 d8 33 1e e1 00      00:01:12.736  READ DMA
  c8 03 08 d0 33 1e e1 00      00:01:12.730  READ DMA

Error 290 occurred at disk power-on lifetime: 9698 hours (404 days + 2 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 97 f8 fc e0  Error: ICRC, ABRT at LBA = 0x00fcf897 = 16578711

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 00 97 f8 fc e0 00      00:10:13.365  READ DMA EXT
  25 00 00 97 f8 fc e0 00      00:10:13.361  READ DMA EXT
  10 00 3f 00 00 00 e0 00      00:10:13.349  RECALIBRATE [OBS-4]
  25 00 00 97 f8 fc e0 00      00:10:13.344  READ DMA EXT
  25 00 00 97 f8 fc e0 00      00:10:13.337  READ DMA EXT

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Aborted by host               90%      8755         -
# 2  Short offline       Completed without error       00%      6380         -
# 3  Short offline       Aborted by host               70%      6380         -
# 4  Short offline       Completed without error       00%      3275         -
# 5  Short offline       Completed without error       00%      3037         -
# 6  Short offline       Completed without error       00%      2817         -
# 7  Short offline       Completed without error       00%      2785         -
# 8  Extended offline    Interrupted (host reset)      60%      2785         -
# 9  Short offline       Completed without error       00%      2785         -
#10  Short offline       Completed without error       00%      2740         -
#11  Short offline       Completed without error       00%      1778         -
#12  Short offline       Completed without error       00%      1769         -
#13  Extended offline    Interrupted (host reset)      90%       859         -
#14  Short offline       Completed without error       00%       859         -
#15  Short offline       Completed without error       00%       859         -
#16  Short offline       Completed without error       00%       769         -
#17  Short offline       Completed without error       00%       769         -
#18  Short offline       Completed without error       00%       202         -
#19  Short offline       Completed without error       00%        51         -
#20  Short offline       Aborted by host               50%        51         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

[root@szandor ~]# smartctl -h
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Usage: smartctl [options] device

============================================ SHOW INFORMATION OPTIONS =====

  -h, --help, --usage
         Display this help and exit

  -V, --version, --copyright, --license
         Print license, copyright, and version information and exit

  -i, --info
         Show identity information for device

  -a, --all
         Show all SMART information for device

================================== SMARTCTL RUN-TIME BEHAVIOR OPTIONS =====

  -q TYPE, --quietmode=TYPE                                           (ATA)
         Set smartctl quiet mode to one of: errorsonly, silent

  -d TYPE, --device=TYPE
         Specify device type to one of: ata, scsi, marvell, 3ware,N

  -T TYPE, --tolerance=TYPE                                           (ATA)
         Tolerance: normal, conservative, permissive, verypermissive

  -b TYPE, --badsum=TYPE                                              (ATA)
         Set action on bad checksum to one of: warn, exit, ignore

  -r TYPE, --report=TYPE
         Report transactions (see man page)

============================== DEVICE FEATURE ENABLE/DISABLE COMMANDS =====

  -s VALUE, --smart=VALUE
        Enable/disable SMART on device (on/off)

  -o VALUE, --offlineauto=VALUE                                       (ATA)
        Enable/disable automatic offline testing on device (on/off)

  -S VALUE, --saveauto=VALUE                                          (ATA)
        Enable/disable Attribute autosave on device (on/off)

======================================= READ AND DISPLAY DATA OPTIONS =====

  -H, --health
        Show device SMART health status

  -c, --capabilities                                                  (ATA)
        Show device SMART capabilities

  -A, --attributes
        Show device SMART vendor-specific Attributes and values

  -l TYPE, --log=TYPE
        Show device log. TYPE: error, selftest, selective, directory

  -v N,OPTION , --vendorattribute=N,OPTION                            (ATA)
        Set display OPTION for vendor Attribute N (see man page)

  -F TYPE, --firmwarebug=TYPE                                         (ATA)
        Use firmware bug workaround: none, samsung, samsung2

  -P TYPE, --presets=TYPE                                             (ATA)
        Drive-specific presets: use, ignore, show, showall

============================================ DEVICE SELF-TEST OPTIONS =====

  -t TEST, --test=TEST
        Run test.  TEST is: offline short long conveyance select,M-N pending,N afterselect,on afterselect,off

  -C, --captive
        Do test in captive mode (along with -t)

  -X, --abort
        Abort any non-captive test on device

=================================================== SMARTCTL EXAMPLES =====

  smartctl -a /dev/hda                       (Prints all SMART information)

  smartctl --smart=on --offlineauto=on --saveauto=on /dev/hda
                                              (Enables SMART on first disk)

  smartctl -t long /dev/hda              (Executes extended disk self-test)

  smartctl --attributes --log=selftest --quietmode=errorsonly /dev/hda
                                      (Prints Self-Test & Attribute errors)
  smartctl -a --device=3ware,2 /dev/sda
          (Prints all SMART info for 3rd ATA disk on 3ware RAID controller)
[root@szandor ~]# smartctl -H /dev/hda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

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

[root@szandor ~]# smartctl -t /dev/hda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=======> INVALID ARGUMENT TO -t: /dev/hda
=======> VALID ARGUMENTS ARE: offline, short, long, conveyance, select,M-N, pending,N, afterselect,on, afterselect,off <=======

Use smartctl -h to get a usage summary

[root@szandor ~]# smartctl -t long /dev/hda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 85 minutes for test to complete.
Test will complete after Mon May 29 05:53:04 2006

Use smartctl -X to abort test.
[root@szandor ~]#