Custom Query (1405 matches)
Results (91 - 93 of 1405)
Ticket |
---|
#89 |
Description |
Smartctl and smartd assume that the old SMART error log (log address 0x01) is supported if an error-logging capability bit in IDENTIFY or SMART data is set. Same applies to old SMART self-test log (log address 0x06). These logs were introduced in ATA-5 and are now outdated because 48-bit LBA addresses are not supported. Recent devices may only support the newer 48-bit capable logs (extended comprehensive error-log, extended self-test log) introduced in ATA-6.
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 Misleading kernel messages may appear during smartd startup: ... kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error } ... kernel: hda: drive_cmd: error=0x04 { DriveStatusError } ... kernel: ide: failed opcode was: 0xb0 ... smartd[...]: Device: /dev/hda, Read SMART Self Test Log Failed ... smartd[...]: Device: /dev/hda, no SMART Self-Test log; remove -l selftest Directive from smartd.conf
(
Smartctl and smartd should read the log directory (log address 0x00) to check whether the old logs are still supported and print an " |
#91 |
Description |
Hi! I've enabled the standby timer on all my harddisks with "camcontrol standby adaX -t 900" (=which sends the STANDBY ATA cmd to the drive (=idle now, arm standby timer to 900s)). This works fine and "smartctl" recognises that the drive is in standby mode: # smartctl -A -n standby /dev/ada3 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.1-RELEASE amd64] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Device is in STANDBY mode, exit(2) # camcontrol cmd ada3 -a "E5 00 00 00 00 00 00 00 00 00 00 00" -r - 50 00 00 00 00 40 00 00 00 00 00 However, if a drive is currently active it still thinks that the drive is in standby mode even though it clearly is not: # dd if=/dev/ada0 of=/dev/null count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.034235 secs (14955 bytes/sec) # ./smartctl -A -n standby /dev/ada0 smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.1-RELEASE amd64] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Power mode: 00 Device is in STANDBY mode, exit(2) # camcontrol cmd ada0 -a "E5 00 00 00 00 00 00 00 00 00 00 00" -r - 50 00 00 00 00 00 00 00 00 FF 00 # Note that the "Power mode: 00" output was added by me to atacmds.cpp for debugging purposes. It outputs the value of "result" from within "ataCheckPowerMode". As you can see from the "camcontrol" output the device is active (sector count=FF). I'm not sure why the output for sector count from "camcontrol" and "smartctl" differ... Is this working as designed? |
#94 |
Description |
ViewVC allows to download the source as a tarball. A build from the tarball fails because the SVN Id strings are not expanded. http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/ |