Project

General

Profile

Actions

Todo #3148

closed

SMART status widget always displays error with SCSI drives

Added by Adam Thompson almost 12 years ago. Updated almost 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/16/2013
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

(As of 2.1-RC1 (i386) built on Wed Aug 14 14:47:17 EDT 2013 FreeBSD 8.3-RELEASE-p9)

The SMART widget always displays red bars even though the disks are fine and reporting no errors.

line 50 in /usr/local/www/widgets/widgets/smart_status_widget greps for "result", but the output on my system looks like this:

smartctl 6.1 2013-03-16 r3800 [FreeBSD 8.3-RELEASE-p9 i386] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

...obviously "result" does not appear in there anywhere, so the test fails and the widget shows me failing disks.
I'm guessing smartctl has different output for SCSI disks than for ATA disks?

For reference:

diskinfo -v /dev/da0:

/dev/da0
512 # sectorsize
72839168000 # mediasize in bytes (67G)
142264000 # mediasize in sectors
0 # stripesize
0 # stripeoffset
8855 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
DAL1P6B0K8040646 # Disk ident.

smartctl -a /dev/da0:

smartctl 6.1 2013-03-16 r3800 [FreeBSD 8.3-RELEASE-p9 i386] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor: COMPAQ
Product: BD07289BB8
Revision: HPB1
User Capacity: 72,839,168,000 bytes [72.8 GB]
Logical block size: 512 bytes
Rotation Rate: 10025 rpm
Logical Unit id: 0x00000e1100dcd8c8
Serial number: DAL1P6B0K8040646
Device type: disk
Transport protocol: Parallel SCSI (SPI-4)
Local Time is: Fri Aug 16 10:30:31 2013 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature: 35 C
Drive Trip Temperature: 65 C

Manufactured in week 46 of year 2006
Specified cycle count over device lifetime: 10000
Accumulated start-stop cycles: 43
Elements in grown defect list: 0

Error counter log:
Errors Corrected by Total Correction Gigabytes Total
ECC rereads/ errors algorithm processed uncorrected
fast | delayed rewrites corrected invocations [10^9 bytes] errors
read: 0 0 0 0 0 0.000 0
write: 0 0 0 0 0 0.000 0

Non-medium error count: 187

No self-tests have been logged

Actions #1

Updated by Jim Pingle almost 12 years ago

  • Status changed from New to Rejected

Duplicated by #3149

Actions

Also available in: Atom PDF