HDD and smart

Discuss Applications
Post Reply
User avatar
Basher52
guru
guru
Posts: 928
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

HDD and smart

Post by Basher52 »

Code: Select all

--------------------- Smartd Begin ------------------------ 
 
  Wrong configuration for devices:
    /dev/sdb (line 33) : 1 Time(s)
    /dev/sdc (line 34) : 1 Time(s)
    /dev/sdd (line 35) : 1 Time(s)
    /dev/sde (line 36) : 1 Time(s)
    /dev/sdf (line 37) : 1 Time(s)
 
 Unavailable device:
    Device /dev/sdb : 1 Time(s)
    Device /dev/sdc : 1 Time(s)
    Device /dev/sdd : 1 Time(s)
    Device /dev/sde : 1 Time(s)
    Device /dev/sdf : 1 Time(s)
 
 **Unmatched Entries**
 Device: /dev/sdb, IE (SMART) not enabled, skip device#012Try 'smartctl -s on /dev/sdb' to turn on SMART features
 Device: /dev/sdc, IE (SMART) not enabled, skip device#012Try 'smartctl -s on /dev/sdc' to turn on SMART features
 
 ---------------------- Smartd End ------------------------- 

Code: Select all

[root@ftp ~]# ls /dev/sd*
/dev/sda   /dev/sda2  /dev/sda4  /dev/sdb1  /dev/sdb3  /dev/sdc1  /dev/sdc3
/dev/sda1  /dev/sda3  /dev/sdb   /dev/sdb2  /dev/sdc   /dev/sdc2
First how come it lists sdd, sde and sdf, those don't exist anymore after I recreated the whole thing.
Second when trying the smartctl command I only get this:

Code: Select all

[root@ftp ~]# smartctl -s on /dev/sdc
smartctl version 5.38 [i386-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

unable to fetch IEC (SMART) mode page [unsupported field in scsi command]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
[root@ftp ~]# smartctl -s on /dev/sdb
smartctl version 5.38 [i386-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

unable to fetch IEC (SMART) mode page [unsupported field in scsi command]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
and even with the permissive option it won't work

Code: Select all

[root@ftp ~]# smartctl -s on /dev/sdc -T permissive
smartctl version 5.38 [i386-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

unable to fetch IEC (SMART) mode page [unsupported field in scsi command]
and I thought that smart could be used with "true" ATA drives not these as they run as SCSI...or?
and last... do I really need this thing? It can show me the temp of the drives, right? and if so, will that be shown by 'sensors'?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

You know I've never used it before now because I never had a drive that worked. I notice that my new laptop does seem to work:

Code: Select all

[root@voidlinux ~]# smartctl /dev/sda --all
smartctl version 5.38 [i386-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Travelstar 5K160 series
Device Model:     Hitachi HTS541680J9SA00
Serial Number:    SB2282KGD86SEH
Firmware Version: SB2OC7BP
User Capacity:    80,026,361,856 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 1
Local Time is:    Wed Dec  3 15:10:20 2008 CST
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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		 ( 645) seconds.
Offline data collection
capabilities: 			 (0x51) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No 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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  44) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   062    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   040    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0007   253   100   033    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       1574
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   040    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   092   092   000    Old_age   Always       -       3621
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       869
191 G-Sense_Error_Rate      0x000a   099   095   000    Old_age   Always       -       65537
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       1441827
193 Load_Cycle_Count        0x0012   061   061   000    Old_age   Always       -       392796
194 Temperature_Celsius     0x0002   177   100   000    Old_age   Always       -       31 (Lifetime Min/Max 14/52)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   253   000    Old_age   Always       -       0
223 Load_Retry_Count        0x000a   100   100   000    Old_age   Always       -       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]


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.
Have you checked the smartmontools FAQ?

http://smartmontools.sourceforge.net/fa ... Q-database

User avatar
Basher52
guru
guru
Posts: 928
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Post by Basher52 »

oh there's a FAQ :P gonna check that :)
thx

Post Reply