Problem with S.M.A.R.T

Status
Not open for further replies.

XeR

Dabbler
Joined
Dec 19, 2012
Messages
11
Error:

------------------------
Dec 25 18:19:19 freenas smartd[1973]: Device: /dev/ada0, can't monitor Temperature, ignoring -W Directive
Dec 25 18:19:19 freenas smartd[1973]: Unable to register ATA device /dev/ada0 at line 4 of file /usr/local/etc/smartd.conf
Dec 25 18:19:19 freenas smartd[1973]: Unable to register device /dev/ada0 (no Directive -d removable). Exiting.
Dec 25 18:19:19 freenas root: /etc/rc: WARNING: failed to start smartd

------------------------

smartctl -all /dev/ada0 infos:

smartctl 5.43 2012-06-30 r3573 [FreeBSD 8.3-RELEASE-p5 i386] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family: Transcend CompactFlash Cards
Device Model: TS16GCF133
Serial Number: ****************
Firmware Version: 20110407
User Capacity: 16,022,200,320 bytes [16.0 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Tue Dec 25 19:10:12 2012
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: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x00) Offline data collection not supported.
SMART capabilities: (0x0002) Does not save SMART data before
entering power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x00) Error logging NOT supported.
No General Purpose Logging support.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_ FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x0000 100 100 000 Old_age Offline - 0
2 Throughput_Performance 0x0000 100 100 000 Old_age Offline - 0
5 Reallocated_Sector_Ct 0x0000 100 100 000 Old_age Offline - 0
7 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
8 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
12 Power_Cycle_Count 0x0000 100 100 000 Old_age Offline - 139
195 Hardware_ECC_Recovered 0x0000 100 100 000 Old_age Offline - 0
196 Reallocated_Event_Count 0x0000 100 100 000 Old_age Offline - 0
197 Current_Pending_Sector 0x0000 100 100 000 Old_age Offline - 0
198 Offline_Uncorrectable 0x0000 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0000 100 100 000 Old_age Offline - 0
200 Multi_Zone_Error_Rate 0x0000 100 100 000 Old_age Offline - 0

SMART Error Log not supported
(pass0:ata0:0:0:0): SMART. ACB: b0 d5 06 4f c2 40 00 00 00 00 01 00
(pass0:ata0:0:0:0): CAM status: ATA Status Error
(pass0:ata0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
(pass0:ata0:0:0:0): RES: 51 04 06 4f c2 00 00 00 00 01 00
Error SMART Error Self-Test Log Read failed: No error: 0
Smartctl: SMART Self Test Log Read Failed
Device does not support Selective Self Tests/Logging

--------------------------------------------------------------------------------------

I'm running the freenas on a cf card, but when it start it shows this error
is there something wrong with my settings?
Thanks very much
 

XeR

Dabbler
Joined
Dec 19, 2012
Messages
11

Thanks for your reply.I've googled and i know cf+cf to ide = ssd now.
Someone told me that i can disable the smart on ssd .
But the problem is , i use this cf card to install FreeNas system, the disable function only can apply to a storage drive.

I've played with this error for almost 2 days.
Only way i can found is to modify the ix-smartd.conf , add a "#" before the "/dev/ada0".
But , is there have any better way to do this?

Thanks
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
I think that might be the best way for now. It seems like this might be a bug. You could look at the bug tracking system at support.freenas.org and if you don't find anything, open a ticket and it might be fixed in the next release.
 

XeR

Dabbler
Joined
Dec 19, 2012
Messages
11
I think that might be the best way for now. It seems like this might be a bug. You could look at the bug tracking system at support.freenas.org and if you don't find anything, open a ticket and it might be fixed in the next release.

Thanks for the reply, had created a ticket into system. Many thanks!!!
 

XeR

Dabbler
Joined
Dec 19, 2012
Messages
11
I think that might be the best way for now. It seems like this might be a bug. You could look at the bug tracking system at support.freenas.org and if you don't find anything, open a ticket and it might be fixed in the next release.

I think that might be the best way for now. It seems like this might be a bug. You could look at the bug tracking system at support.freenas.org and if you don't find anything, open a ticket and it might be fixed in the next release.

Sorry i need your help again : )
There is a new problem now. Here's wat i did.
mount -uw /
cp /etc/rc.d/ix-smartd /etc/rc.d/ixsmartd.org
nano /etc/rc.d/ix-smartd
"do the modify and save"
mount -ur /
reboot

But , nothing changed. ix-smartd.org disappear and the modification gone.
Can you please help me again thx
 

JaimieV

Guru
Joined
Oct 12, 2012
Messages
742
Be aware that your fix will get trashed on updating your version of FreeNAS (although if you raised it, the bug might be fixed by then!)
 

XeR

Dabbler
Joined
Dec 19, 2012
Messages
11
Edit /conf/base/etc/rc.d/ix-smartd instead.

Add after Line 126 of /conf/base/etc/rc.d/ix-smartd

Code:

hasTemp=$(/usr/local/sbin/smartctl --attributes ${prop_dev} | grep "194 Temperature_Celsius")
if [ -z "$hasTemp" ]; then
echo -n "#"
echo -n "${prop_dev}"
echo " is SSD Device / Not support Temperature,auto-disable S.M.A.R.T"
echo -n "#"
fi


Remember to "mount -uw /" before editing the file
and do "mount -ur /" after saved the file

I'm a newbie to freenas , and that's what i can do : D
For those whom install freenas into cf-to-ide user.

Thank you very much for helping me protosd!!!
 

uutzinger

Dabbler
Joined
Nov 27, 2011
Messages
43
This problem might go away if one boots from USB flash drive.

You could backup your config in the GUI.
I would then also delete all SMART scans in the GUI and backup the config again into different backup file.
Then I would install FreeNAS on a blank USB flash drive and boot from it (this might require some BIOS boot order changes).
Once you have it boot from USB drive and the GUI is up you can reapply the config backup (the one without SMART scans) and you should have your system back but its now booting from USB. If anything goes wrong you can boot from previous SSD/flashtoIDE, so you might want to keep it at safe place when you attempt this.

I would recommend NOT using USB3.0 port for this.

If all goes well you could insert a flash card into your flash to IDE and you might see it appearing as disk.
That one could be used to install the jail and plugins if you have decent transfer on you flash card.

Urs
 
Status
Not open for further replies.
Top