smartctl version 5.37 [i686-mingw32-2003-sp2] Copyright (C) 2002-6 Bruce = Allen Home page is http://smartmontools.sourceforge.net/ =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D Model Family: Western Digital Caviar SE family Device Model: WDC WD800JB-00ETA0 Serial Number: WD-WCAHL4881442 Firmware Version: 77.07W77 User Capacity: 80,026,361,856 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 6 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Sun Nov 25 09:38:17 2007 PST SMART support is: Available - device has SMART capability. Enabled status cached by OS, trying SMART RETURN = STATUS cmd. SMART support is: Enabled =3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D SMART overall-health self-assessment test result: PASSED See vendor-specific Attribute list for marginal Attributes. General SMART Values: Offline data collection status: (0x84) Offline data collection activity was suspended by an interrupting command from host. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine = completed without error or no self-test has ever=20 been run. Total time to complete Offline=20 data collection: (2361) seconds. Offline data collection capabilities: (0x79) SMART execute Offline immediate. No Auto Offline data collection support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. 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=20 recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 37) minutes. Conveyance self-test routine recommended polling time: ( 5) 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 200 015 051 Pre-fail Always = In_the_past 0 3 Spin_Up_Time 0x0007 088 087 021 Pre-fail Always = - 2100 4 Start_Stop_Count 0x0032 092 092 040 Old_age Always = - 8116 5 Reallocated_Sector_Ct 0x0033 198 198 140 Pre-fail Always = - 31 7 Seek_Error_Rate 0x000b 200 200 051 Pre-fail Always = - 0 9 Power_On_Hours 0x0032 080 080 000 Old_age Always = - 15107 10 Spin_Retry_Count 0x0013 100 100 051 Pre-fail Always = - 0 11 Calibration_Retry_Count 0x0013 100 100 051 Pre-fail Always = - 0 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always = - 1054 194 Temperature_Celsius 0x0022 094 253 000 Old_age Always = - 49 196 Reallocated_Event_Count 0x0032 196 196 000 Old_age Always = - 4 197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always = - 0 198 Offline_Uncorrectable 0x0012 200 200 000 Old_age Always = - 0 199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always = - 0 200 Multi_Zone_Error_Rate 0x0009 200 085 051 Pre-fail = Offline - 0 Error SMART Error Log Read failed: Input/output error Smartctl: SMART Error Log Read Failed Error SMART Error Self-Test Log Read failed: Input/output error Smartctl: SMART Self Test Log Read Failed Error SMART Read Selective Self-Test Log failed: Input/output error Smartctl: SMART Selective Self Test Log Read Failed |
From: Christian F. <Chr...@t-...> - 2007-11-25 19:06:29
|
Jaroslaw Kowalski wrote: > I have 3 PATA controllers in my computer running Windows Home Server > (Windows Server 2003) > > 1. Intel 82801G (ICH7 Family) - 27DF > - shows up under "IDE ATA/ATAPI controllers" in Device Manager. > 2. ITE IT8211 ATA/ATAPI controller (onboard) > - shows up under "SCSI and RAID controllers" > 3. Silicon Image SiI 0680 ATA 133 Medley Raid Controller (PCI card) > - shows up under "SCSI and RAID controllers" > > I have 2 disks attached to controller #1, 3 disks and DVD-rom attached > to #2 > and 3 disks to #3. > Unfortunately I cannot get smartmontools to work properly: > > For #1, "smartctl -a" almost works (hda.txt and hdb.txt), but I'm getting > suspicious I/O errors at the end of the report: > ================ > Error SMART Error Log Read failed: Input/output error > Smartctl: SMART Error Log Read Failed > Error SMART Error Self-Test Log Read failed: Input/output error > Smartctl: SMART Self Test Log Read Failed > Error SMART Read Selective Self-Test Log failed: Input/output error > Smartctl: SMART Selective Self Test Log Read Failed > ================ > Is this normal? > See http://smartmontools.sourceforge.net/#FAQ-win-ioctl The Intel AHCI driver returns unexpected error codes instead of "Function not implemented". Then smartctl aborts instead of retrying with the new ATA_PASS_THROUGH function. Try adding ":a" to the device name (e.g. "hda:a") to force usage of this function. It may work better with a more recent build of smartmontools, see http://smartmontools.sourceforge.net/#WindowsInstall for a download link. > For #2 and #3 I cannot get any meaningful output. I've tried sd[a-h] > and I > get various errors including: > > ================ > Short INQUIRY response, skip product id > A mandatory SMART command failed: exiting. To continue, add one or > more '-T > permissive' options. > ================ > Device does not support SMART > > Error Counter logging not supported > Device does not support Self Test logging > ================ > > I am pretty sure that all drives support SMART - is this a problem > with my > controllers? Perhaps I'm using smartctl incorrectly? > With device name sdX, smartctl uses the SCSI variant of SMART. For ATA SMART, use hdX instead. But unfortunately, most drivers implemented as a SCSI drivers do not support ATA SMART functions at all (http://smartmontools.sourceforge.net/#FAQ-win-ata-as-scsi). Christian |
From: Jaroslaw K. <ja...@jk...> - 2007-11-26 20:58:15
|
Thanks for the information. Unfortunately I couldn't get it to work. I have also tried all other HDD-monitoring tools for windows - to no avail. I have explored this subject a little more, and it seems that there is a little known IOCTL that happens to work correctly with all my drives (except USB one) - IOCTL_STORAGE_PREDICT_FAILURE. It returns a DWORD+ opaque 512-byte vendor-specific information, which in all cases contains SMART attribute information (2 bytes header + 12 bytes each attribute). I was able to successfully parse this information to extract what I was interested in - drive temperature. Does smartmontools support IOCTL_STORAGE_PREDICT_FAILURE to read smart data? Jarek ----- Original Message ----- From: "Christian Franke" <Chr...@t-...> To: "Jaroslaw Kowalski" <ja...@jk...> Cc: <sma...@li...> Sent: Sunday, November 25, 2007 11:04 AM Subject: Re: [smartmontools-support] Multiple problems on Windows > Jaroslaw Kowalski wrote: >> I have 3 PATA controllers in my computer running Windows Home Server >> (Windows Server 2003) >> >> 1. Intel 82801G (ICH7 Family) - 27DF >> - shows up under "IDE ATA/ATAPI controllers" in Device Manager. >> 2. ITE IT8211 ATA/ATAPI controller (onboard) >> - shows up under "SCSI and RAID controllers" >> 3. Silicon Image SiI 0680 ATA 133 Medley Raid Controller (PCI card) >> - shows up under "SCSI and RAID controllers" >> >> I have 2 disks attached to controller #1, 3 disks and DVD-rom attached to >> #2 >> and 3 disks to #3. >> Unfortunately I cannot get smartmontools to work properly: >> >> For #1, "smartctl -a" almost works (hda.txt and hdb.txt), but I'm getting >> suspicious I/O errors at the end of the report: >> ================ >> Error SMART Error Log Read failed: Input/output error >> Smartctl: SMART Error Log Read Failed >> Error SMART Error Self-Test Log Read failed: Input/output error >> Smartctl: SMART Self Test Log Read Failed >> Error SMART Read Selective Self-Test Log failed: Input/output error >> Smartctl: SMART Selective Self Test Log Read Failed >> ================ >> Is this normal? >> > > See http://smartmontools.sourceforge.net/#FAQ-win-ioctl > > The Intel AHCI driver returns unexpected error codes instead of "Function > not implemented". Then smartctl aborts instead of retrying with the new > ATA_PASS_THROUGH function. > > Try adding ":a" to the device name (e.g. "hda:a") to force usage of this > function. > > It may work better with a more recent build of smartmontools, see > http://smartmontools.sourceforge.net/#WindowsInstall for a download link. > > >> For #2 and #3 I cannot get any meaningful output. I've tried sd[a-h] and >> I >> get various errors including: >> >> ================ >> Short INQUIRY response, skip product id >> A mandatory SMART command failed: exiting. To continue, add one or more >> '-T >> permissive' options. >> ================ >> Device does not support SMART >> >> Error Counter logging not supported >> Device does not support Self Test logging >> ================ >> >> I am pretty sure that all drives support SMART - is this a problem with >> my >> controllers? Perhaps I'm using smartctl incorrectly? >> > > With device name sdX, smartctl uses the SCSI variant of SMART. For ATA > SMART, use hdX instead. > > But unfortunately, most drivers implemented as a SCSI drivers do not > support ATA SMART functions at all > (http://smartmontools.sourceforge.net/#FAQ-win-ata-as-scsi). > > > Christian > > |
From: Christian F. <Chr...@t-...> - 2007-11-27 22:11:35
|
Jaroslaw Kowalski wrote: > Thanks for the information. Unfortunately I couldn't get it to work. I > have also tried all other HDD-monitoring tools for windows - to no avail. > > I have explored this subject a little more, and it seems that there is > a little known IOCTL that happens to work correctly with all my drives > (except USB one) - IOCTL_STORAGE_PREDICT_FAILURE. > It returns a DWORD+ opaque 512-byte vendor-specific information, which > in all cases contains SMART attribute information (2 bytes header + 12 > bytes each attribute). This function did not work when I first tested it (IIRC 2004) with some pre-SP2 XP. I repeated the test and it works now with XP SP2. Thanks for this hint! This function apparently also works with those "SCSI" drivers. > I was able to successfully parse this information to extract what I > was interested in - drive temperature. > > Does smartmontools support IOCTL_STORAGE_PREDICT_FAILURE to read smart > data? > No, but I will add this. One problem is that smartmontools checks data from IDENTIFY sector first. If SMART_RCV_DRIVE_DATA and ATA_PASS_THROUGH do not work, this info cannot be obtained. But info from IOCTL_STORAGE_PROPERTY_QUERY (already used to guess device type) can be used to build some (faked) IDENTIFY sector... This would add limited (smartctl -H, -c, -A w/o thresholds) functionality with one advantage: These functions do not require admin rights. Christian |