Custom Query (1359 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (85 - 87 of 1359)

Ticket Resolution Summary Owner Reporter
#89 fixed Use log directory to check for old error/self-test log support Christian Franke Christian Franke
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.

smartctl -a ... prints misleading messages then:

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 -x ... is not affected)

Smartctl and smartd should read the log directory (log address 0x00) to check whether the old logs are still supported and print an "unsupported" message if not.

#91 fixed smartctl, standby mode not detected properly on FreeBSD Dan Lukes drsweety
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?

#92 wontfix smartd does not support SATA disk under cciss somebody gabrielev
Description

Running

smartd version 5.38

under

Debian Lenny 5.0.5 amd64

using a

HP SmartArray P212/256

smartctl works correctly:

sudo smartctl -d cciss,0 -a /dev/cciss/c0d0
smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Serial number: 9RXKJ6P9            
Device type: disk
Local Time is: Mon Aug 30 17:57:02 2010 CEST
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
SMART Health Status: OK

Current Drive Temperature:     <not available>
Read defect list: asked for grown list but didn't get it

Error Counter logging not supported
Device does not support Self Test logging

But smartd not.

In

/etc/smartd.conf:
/dev/cciss/c0d0 -d cciss,0 -H -m root@localhost

Running:

sudo invoke-rc.d smartmontools start

gives the following errors in syslog: A

ug 30 17:58:12 crosrv07 smartd[6798]: smartd version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Aug 30 17:58:12 crosrv07 smartd[6798]: Home page is http://smartmontools.sourceforge.net/#012
Aug 30 17:58:12 crosrv07 smartd[6798]: Opened configuration file /etc/smartd.conf
Aug 30 17:58:12 crosrv07 smartd[6798]: Configuration file /etc/smartd.conf parsed.
Aug 30 17:58:12 crosrv07 smartd[6798]: Device: /dev/cciss/c0d0 [cciss_disk_00], opened
Aug 30 17:58:12 crosrv07 smartd[6798]: Device /dev/cciss/c0d0 [cciss_disk_00]: using '-d sat' for ATA disk behind SAT layer.
Aug 30 17:58:12 crosrv07 smartd[6798]: Device: /dev/cciss/c0d0 [cciss_disk_00], opened
Aug 30 17:58:12 crosrv07 kernel: [17501.663995] program smartd is using a deprecated SCSI ioctl, please convert it to SG_IO
Aug 30 17:58:12 crosrv07 smartd[6798]: Device: /dev/cciss/c0d0 [cciss_disk_00], not found in smartd database.
Aug 30 17:58:12 crosrv07 smartd[6798]: Device: /dev/cciss/c0d0 [cciss_disk_00], ATA IDENTIFY DEVICE words 82-83 don't specify if SMART capable.
Aug 30 17:58:12 crosrv07 smartd[6798]: Device: /dev/cciss/c0d0 [cciss_disk_00], to proceed anyway, use '-T permissive' Directive.
Aug 30 17:58:12 crosrv07 smartd[6798]: Unable to register SCSI device /dev/cciss/c0d0 [cciss_disk_00] at line 144 of file /etc/smartd.conf
Aug 30 17:58:12 crosrv07 smartd[6798]: Unable to register device /dev/cciss/c0d0 [cciss_disk_00] (no Directive -d removable). Exiting.

If you need further info, asl without problems.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.