From: Dirk De C. <DDe...@al...> - 2008-10-01 21:54:36
|
Hello all, I have a RocketRaid 222x SATA II controller with 2 WD 1T drives each configured in a JBOD group individually (not using HW RAID, but using Linux SW RAID). I am running Ubuntu 8.04.1 server with a 2.6.24-19-server kernel. I have the following entries in my config file: /dev/sda -d hpt,1/1/1 -H -l selftest -l error -f -S on -s (S/../.././02|L/../../6/04) -I 194 -W 5,45,55 -R 5 /dev/sdb -d hpt,1/2/1 -H -l selftest -l error -f -S on -s (S/../.././03|L/../../6/05) -I 194 -W 5,45,55 -R 5 When I start the service I get: Sep 30 18:53:34 r2d2 smartd[4415]: smartd version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Sep 30 18:53:34 r2d2 smartd[4415]: Home page is http://smartmontools.sourceforge.net/ Sep 30 18:53:34 r2d2 smartd[4415]: Opened configuration file /etc/smartd.conf Sep 30 18:53:34 r2d2 smartd[4415]: Configuration file /etc/smartd.conf parsed. Sep 30 18:53:34 r2d2 smartd[4415]: Device: /dev/sda [hpt_1/1/1], opened Sep 30 18:53:34 r2d2 smartd[4415]: Device: /dev/sda [hpt_1/1/1], not found in smartd database. Sep 30 18:53:34 r2d2 smartd[4415]: Device: /dev/sda [hpt_1/1/1], enabled SMART Attribute Autosave. Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sda [hpt_1/1/1], is SMART capable. Adding to "monitor" list. Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sdb [hpt_1/2/1], opened Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sdb [hpt_1/2/1], not found in smartd database. Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sdb [hpt_1/2/1], enabled SMART Attribute Autosave. Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sdb [hpt_1/2/1], is SMART capable. Adding to "monitor" list. Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sdc, opened Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sdc, found in smartd database. Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sdc, enabled SMART Attribute Autosave. Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sdc, is SMART capable. Adding to "monitor" list. Sep 30 18:53:35 r2d2 smartd[4415]: Monitoring 3 ATA and 0 SCSI devices All good so far, but then: Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sda [hpt_1/1/1], not capable of SMART self-check Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sda [hpt_1/1/1], failed to read SMART Attribute Data Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sda [hpt_1/1/1], Read SMART Self Test Log Failed Sep 30 18:53:35 r2d2 smartd[4415]: Device: /dev/sda [hpt_1/1/1], Read SMART Error Log Failed Sep 30 18:53:36 r2d2 smartd[4415]: Device: /dev/sdb [hpt_1/2/1], not capable of SMART self-check Sep 30 18:53:36 r2d2 smartd[4415]: Device: /dev/sdb [hpt_1/2/1], failed to read SMART Attribute Data Sep 30 18:53:36 r2d2 smartd[4415]: Device: /dev/sdb [hpt_1/2/1], Read SMART Self Test Log Failed Sep 30 18:53:36 r2d2 smartd[4415]: Device: /dev/sdb [hpt_1/2/1], Read SMART Error Log Failed Sep 30 18:53:36 r2d2 smartd[4415]: Device: /dev/sdc, initial Temperature is 32 Celsius Sep 30 18:53:36 r2d2 smartd[4455]: smartd has fork()ed into background mode. New PID=4455. Everything seem to work fine when run directly using smartctl however: # smartctl /dev/sda -d hpt,1/1 -H -l selftest -l error -S on smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF ENABLE/DISABLE COMMANDS SECTION === SMART Attribute Autosave Enabled. === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed without error 00% 58 - Short tests and long test run fine too, so I don't know why it fails when run from the daemon. Any suggestions? # smartctl -V smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ smartctl comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under the terms of the GNU General Public License Version 2. See http://www.gnu.org for further details. CVS version IDs of files used to build this code are: Module: atacmdnames.cpp revision: 1.15 date: 2006/10/22 uses: atacmdnames.h revision: 1.5 date: 2006/04/12 Module: atacmds.cpp revision: 1.177 date: 2006/10/27 uses: atacmds.h revision: 1.83 date: 2006/08/25 uses: configure.in revision: 1.122 date: 2006/12/20 uses: extern.h revision: 1.47 date: 2006/09/15 uses: int64.h revision: 1.16 date: 2006/10/29 uses: scsiata.h revision: 1.2 date: 2006/07/01 uses: utility.h revision: 1.47 date: 2006/10/09 Module: ataprint.cpp revision: 1.171 date: 2006/10/28 uses: atacmdnames.h revision: 1.5 date: 2006/04/12 uses: atacmds.h revision: 1.83 date: 2006/08/25 uses: ataprint.h revision: 1.29 date: 2006/09/17 uses: configure.in revision: 1.122 date: 2006/12/20 uses: extern.h revision: 1.47 date: 2006/09/15 uses: int64.h revision: 1.16 date: 2006/10/29 uses: knowndrives.h revision: 1.17 date: 2006/08/09 uses: smartctl.h revision: 1.24 date: 2006/07/20 uses: utility.h revision: 1.47 date: 2006/10/09 Module: knowndrives.cpp revision: 1.156 date: 2006/10/30 uses: atacmds.h revision: 1.83 date: 2006/08/25 uses: ataprint.h revision: 1.29 date: 2006/09/17 uses: configure.in revision: 1.122 date: 2006/12/20 uses: extern.h revision: 1.47 date: 2006/09/15 uses: int64.h revision: 1.16 date: 2006/10/29 uses: knowndrives.h revision: 1.17 date: 2006/08/09 uses: utility.h revision: 1.47 date: 2006/10/09 Module: os_linux.cpp revision: 1.88 date: 2006/10/25 uses: atacmds.h revision: 1.83 date: 2006/08/25 uses: configure.in revision: 1.122 date: 2006/12/20 uses: int64.h revision: 1.16 date: 2006/10/29 uses: os_linux.h revision: 1.25 date: 2006/08/25 uses: scsicmds.h revision: 1.63 date: 2006/11/12 uses: utility.h revision: 1.47 date: 2006/10/09 Module: scsicmds.cpp revision: 1.92 date: 2006/11/12 uses: configure.in revision: 1.122 date: 2006/12/20 uses: extern.h revision: 1.47 date: 2006/09/15 uses: int64.h revision: 1.16 date: 2006/10/29 uses: scsicmds.h revision: 1.63 date: 2006/11/12 uses: utility.h revision: 1.47 date: 2006/10/09 Module: scsiprint.cpp revision: 1.119 date: 2006/11/12 uses: configure.in revision: 1.122 date: 2006/12/20 uses: extern.h revision: 1.47 date: 2006/09/15 uses: int64.h revision: 1.16 date: 2006/10/29 uses: scsicmds.h revision: 1.63 date: 2006/11/12 uses: scsiprint.h revision: 1.20 date: 2006/04/12 uses: smartctl.h revision: 1.24 date: 2006/07/20 uses: utility.h revision: 1.47 date: 2006/10/09 Module: smartctl.cpp revision: 1.156 date: 2006/10/09 uses: atacmds.h revision: 1.83 date: 2006/08/25 uses: ataprint.h revision: 1.29 date: 2006/09/17 uses: configure.in revision: 1.122 date: 2006/12/20 uses: extern.h revision: 1.47 date: 2006/09/15 uses: int64.h revision: 1.16 date: 2006/10/29 uses: knowndrives.h revision: 1.17 date: 2006/08/09 uses: scsicmds.h revision: 1.63 date: 2006/11/12 uses: scsiprint.h revision: 1.20 date: 2006/04/12 uses: smartctl.h revision: 1.24 date: 2006/07/20 uses: utility.h revision: 1.47 date: 2006/10/09 Module: utility.cpp revision: 1.62 date: 2006/08/09 uses: configure.in revision: 1.122 date: 2006/12/20 uses: int64.h revision: 1.16 date: 2006/10/29 uses: utility.h revision: 1.47 date: 2006/10/09 smartmontools release 5.37 dated 2006/12/20 at 20:37:59 UTC smartmontools build host: i686-pc-linux-gnu smartmontools build configured: 2007/12/06 13:23:59 UTC smartctl compile dated Dec 6 2007 at 13:24:14 smartmontools configure arguments: '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-initscriptdir=/etc/init.d' '--with-docdir=/usr/share/doc/smartmontools' 'CFLAGS=-fsigned-char -Wall -O2' My drive are two identical WD Green Power 1TB drives with the same firmware. This is the hdparm -I data from sda: # hdparm -I /dev/sda /dev/sda: ATA device, with non-removable media powers-up in standby; SET FEATURES subcmd spins-up. Model Number: WDC WD10EACS-00ZJB0 Serial Number: WD-WCASJ..... (removed last digits of serial after cut and paste) Firmware Revision: 01.01B01 Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5 Standards: Supported: 8 7 6 5 Likely used: 8 Configuration: Logical max current cylinders 16383 16383 heads 16 16 sectors/track 63 63 -- CHS current addressable sectors: 16514064 LBA user addressable sectors: 268435455 LBA48 user addressable sectors: 1953525168 device size with M = 1024*1024: 953869 MBytes device size with M = 1000*1000: 1000204 MBytes (1000 GB) Capabilities: LBA, IORDY(can be disabled) Queue depth: 32 Standby timer values: spec'd by Standard, with device specific minimum R/W multiple sector transfer: Max = 16 Current = 0 Recommended acoustic management value: 128, current value: 254 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=120ns IORDY flow control=120ns Commands/features: Enabled Supported: * SMART feature set Security Mode feature set * Power Management feature set * Write cache * Look-ahead * Host Protected Area feature set * WRITE_BUFFER command * READ_BUFFER command * NOP cmd * DOWNLOAD_MICROCODE SET_MAX security extension Automatic Acoustic Management feature set * 48-bit Address feature set * Device Configuration Overlay feature set * Mandatory FLUSH_CACHE * FLUSH_CACHE_EXT * SMART error logging * SMART self-test * General Purpose Logging feature set * 64-bit World wide name * {READ,WRITE}_DMA_EXT_GPL commands * Segmented DOWNLOAD_MICROCODE * SATA-I signaling speed (1.5Gb/s) * SATA-II signaling speed (3.0Gb/s) * Native Command Queueing (NCQ) * Host-initiated interface power management * Phy event counters DMA Setup Auto-Activate optimization * Software settings preservation * SMART Command Transport (SCT) feature set * SCT Long Sector Access (AC1) * SCT LBA Segment Access (AC2) * SCT Error Recovery Control (AC3) * SCT Features Control (AC4) * SCT Data Tables (AC5) unknown 206[12] (vendor specific) unknown 206[13] (vendor specific) Security: Master password revision code = 65534 supported not enabled not locked not frozen not expired: security count supported: enhanced erase 268min for SECURITY ERASE UNIT. 268min for ENHANCED SECURITY ERASE UNIT. Logical Unit WWN Device Identifier: 50014ee25689eac5 NAA : 5 IEEE OUI : 14ee Unique ID : 25689eac5 Checksum: correct Kind Regards, Dirk. |