I'm trying to setup a FreeNAS server with a 9650SE-24M8 controller. Currently the controller is setup with JBOD for all drives. FreeNAS is setup with 3 drives temporarily using a RAIDZ while I experiment. However i'm having trouble getting SMART to work. Currently if I go to Storage -> Volumes -> View Disks I can see the disks. I do not get serial numbers in the GUI, not sure if this is expected or an indication of the problem. I did verify the box is checked for "Enable SMART". I've been trying to do SMART commands from the prompt to verify the hard drive supports SMART.
So I did smartctl -a -d 3ware,0 /dev/twa0
So now that I've proved the hard drive is supported it's time to give SMART a try! I click to start the service and I get the error:
Then the service turns back to off in the GUI.
So I checked out /usr/local/etc/smartd.conf and sure enough there's no entries.
I then tried adding -d 3ware,0 /dev/twa0 to Storage -> Volumes -> View Disks -> edit da0. Still the same error.
Then I tried adding a SMART Test to run by going to System -> SMART Tests -> Add test and created a conveyance test. I selected the 1 disk I'm experimenting with and the service still gives the same error on startup.
I've spent the last 3 hours with google and forum searches and I see alot of people have problems like mine but no definitive answer on how to fix it. A few people said they created startup scripts and whatnot but I couldn't find an entry that provided enough information that I could reproduce the result.
I tried creating entries manually, but FreeNAS seems to regenerate the smartd.conf file erasing my changes before the service starts. This was expected because of my searching but I figured I had nothing to lose.
Any ideas how I can troubleshoot this problem or how to resolve it? I'm half expecting someone is going to paste a link to some thread on how to fix it in 2 easy steps. There's alot of threads dealing with SMART issues but I'm pretty sure I've read them all at least once between all the different search terms I've used.
So I did smartctl -a -d 3ware,0 /dev/twa0
Code:
smartctl 5.42 2011-10-20 r3458 [FreeBSD 8.2-RELEASE-p9 amd64] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Western Digital Caviar Green Device Model: WDC WD15EADS-00S2B0 Serial Number: WD-WCAVY0394928 LU WWN Device Id: 5 0014ee 258494bd0 Firmware Version: 01.00A01 User Capacity: 1,500,301,910,016 bytes [1.50 TB] Sector Size: 512 bytes logical/physical Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Tue Aug 21 00:17:10 2012 CDT SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED 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 been run. Total time to complete Offline data collection: (31560) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off 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. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 255) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x303f) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. 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 0x002f 200 200 051 Pre-fail Always - 1 3 Spin_Up_Time 0x0027 152 149 021 Pre-fail Always - 9400 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 24 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 35 10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 23 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 14 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 115 194 Temperature_Celsius 0x0022 104 104 000 Old_age Always - 48 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay.
So now that I've proved the hard drive is supported it's time to give SMART a try! I click to start the service and I get the error:
Code:
Configuration file /usr/local/etc/smartd.conf parsed but has no entries (like /dev/hda)
Then the service turns back to off in the GUI.
So I checked out /usr/local/etc/smartd.conf and sure enough there's no entries.
I then tried adding -d 3ware,0 /dev/twa0 to Storage -> Volumes -> View Disks -> edit da0. Still the same error.
Then I tried adding a SMART Test to run by going to System -> SMART Tests -> Add test and created a conveyance test. I selected the 1 disk I'm experimenting with and the service still gives the same error on startup.
I've spent the last 3 hours with google and forum searches and I see alot of people have problems like mine but no definitive answer on how to fix it. A few people said they created startup scripts and whatnot but I couldn't find an entry that provided enough information that I could reproduce the result.
I tried creating entries manually, but FreeNAS seems to regenerate the smartd.conf file erasing my changes before the service starts. This was expected because of my searching but I figured I had nothing to lose.
Any ideas how I can troubleshoot this problem or how to resolve it? I'm half expecting someone is going to paste a link to some thread on how to fix it in 2 easy steps. There's alot of threads dealing with SMART issues but I'm pretty sure I've read them all at least once between all the different search terms I've used.