On 7/4/05, Alexander Dalloz <ad+lists@xxxxxxxxx> wrote: > > smartctl -t long /dev/hda > > > I remember the discussion you have in mind. It too was about smartctl > output. S.M.A.R.T. is a standard, provided by the firmware of the > harddrives. The tools of the drive manufacturers do nothing else than > checking the selftest results of the S.M.A.R.T. capabilities of the > drive. > > > Alexander > > > -- > Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 > legal statement: http://www.uni-x.org/legal.html > Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp > Serendipity 01:15:14 up 8 days, 8:07, load average: 0.08, 0.18, 0.17 > > > BodyID:98339114.2.n.logpart (stored separately) > > The machine requested 23 minute to work, so I gave it: [root@localhost ~]# smart -a /dev/hda -bash: smart: command not found [root@localhost ~]# smartctl -a /dev/hda smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 B ruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Device Model: ST320413A Serial Number: 6ED3SE0G Firmware Version: 3.40 User Capacity: 20,020,396,032 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 5 ATA Standard is: Exact ATA specification draft version not indicate d Local Time is: Mon Jul 4 02:32:48 2005 IDT - Show quoted text - 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 acti vity was completed without error. Auto Offline Data Collection : Enabled. Self-test execution status: ( 0) The previous self-test routi ne completed without error or no self-tes t has ever been run. Total time to complete Offline data collection: ( 422) seconds. Offline data collection capabilities: (0x1b) SMART execute Offline immedi ate. Auto Offline data collection on/off support. Suspend Offline collection u pon new command. Offline surface scan support ed. Self-test supported. No Conveyance Self-test supp orted. No Selective Self-test suppo rted. SMART capabilities: (0x0003) Saves SMART data before ente ring power-saving mode. Supports SMART auto save tim er. Error logging capability: (0x01) Error logging supported. No General Purpose Logging s upport. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 23) minutes. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UP DATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000e 082 061 025 Old_age Al ways - 170108439 3 Spin_Up_Time 0x0002 080 078 000 Old_age Al ways - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Al ways - 501 5 Reallocated_Sector_Ct 0x0032 100 100 036 Old_age Al ways - 0 7 Seek_Error_Rate 0x000e 081 060 030 Old_age Al ways - 4413667426 9 Power_On_Hours 0x0032 093 093 000 Old_age Al ways - 6612 10 Spin_Retry_Count 0x0012 100 099 097 Old_age Al ways - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Al ways - 878 194 Temperature_Celsius 0x0022 038 052 000 Old_age Al ways - 38 195 Hardware_ECC_Recovered 0x001a 081 070 000 Old_age Al ways - 127278965 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Al ways - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Of fline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Al ways - 0 200 Multi_Zone_Error_Rate 0x0000 100 100 000 Old_age Of fline - 0 202 TA_Increase_Count 0x0032 100 253 000 Old_age Al ways - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl - t] Device does not support Selective Self Tests/Logging [root@localhost ~]# smartctl -t long /dev/hda smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 B ruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === Sending command: "Execute SMART Extended self-test routine immediate ly in off-line mode". Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful. Testing has begun. Please wait 23 minutes for test to complete. Test will complete after Mon Jul 4 02:56:14 2005 Use smartctl -X to abort test. /* // I waited 25 minute here! Didn't touch the computer! */ [root@localhost ~]# smartctl -a /dev/hda smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 B ruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Device Model: ST320413A Serial Number: 6ED3SE0G Firmware Version: 3.40 User Capacity: 20,020,396,032 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 5 ATA Standard is: Exact ATA specification draft version not indicate d Local Time is: Mon Jul 4 02:57:41 2005 IDT - Show quoted text - 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 acti vity was completed without error. Auto Offline Data Collection : Enabled. Self-test execution status: ( 0) The previous self-test routi ne completed without error or no self-tes t has ever been run. Total time to complete Offline data collection: ( 422) seconds. Offline data collection capabilities: (0x1b) SMART execute Offline immedi ate. Auto Offline data collection on/off support. Suspend Offline collection u pon new command. Offline surface scan support ed. Self-test supported. No Conveyance Self-test supp orted. No Selective Self-test suppo rted. SMART capabilities: (0x0003) Saves SMART data before ente ring power-saving mode. Supports SMART auto save tim er. Error logging capability: (0x01) Error logging supported. No General Purpose Logging s upport. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 23) minutes. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UP DATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000e 082 061 025 Old_age Al ways - 170108439 3 Spin_Up_Time 0x0002 080 078 000 Old_age Al ways - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Al ways - 501 5 Reallocated_Sector_Ct 0x0032 100 100 036 Old_age Al ways - 0 7 Seek_Error_Rate 0x000e 081 060 030 Old_age Al ways - 4413736882 9 Power_On_Hours 0x0032 093 093 000 Old_age Al ways - 6612 10 Spin_Retry_Count 0x0012 100 099 097 Old_age Al ways - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Al ways - 878 194 Temperature_Celsius 0x0022 040 052 000 Old_age Al ways - 40 195 Hardware_ECC_Recovered 0x001a 081 070 000 Old_age Al ways - 167510486 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Al ways - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Of fline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Al ways - 0 200 Multi_Zone_Error_Rate 0x0000 100 100 000 Old_age Of fline - 0 202 TA_Increase_Count 0x0032 100 253 000 Old_age Al ways - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime (hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 6612 - Device does not support Selective Self Tests/Logging [root@localhost ~]# Does he mean to say (as it appears) that it cannot perform the test? I'm off to google a bit now (as I didn't dare to do so while he was running). Thanks, Alex. It must be getting pretty late over there by now... Dotan http://lyricslist.com/lyrics/artist_albums/156/destiny_s_child.php Destiny's Child Song Lyrics