Koozali.org: home of the SME Server
		Obsolete Releases => SME Server 8.x => Topic started by: gbentley on September 29, 2016, 02:03:34 PM
		
			
			- 
				Hi,
Have been wrestling with Smartctl which refuses to give me any useful info on the 2 installed SATA HDD
 smartctl: Device Read Identity Failed: Invalid argument 
if I use 
 smartctl -d ata --all /dev/sda -T permissive
=== START OF INFORMATION SECTION ===
Device Model:     [No Information Found]
Serial Number:    [No Information Found]
Firmware Version: [No Information Found]
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   [No Information Found]
ATA Standard is:  [No Information Found]
Local Time is:    Thu Sep 29 13:01:09 2016 BST
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
Is there any other way to get the info I want or to update the Smartctl DB?
			 
			
			- 
				Found via search
/usr/sbin/# ./update-smart-drivedb
/usr/share/smartmontools/drivedb.h.error: rejected by /usr/sbin/smartctl, probably no longer compatible
Any tips?
			 
			
			- 
				I believe there is a contrib for that...
			
 
			
			- 
				
Have been wrestling with Smartctl which refuses to give me any useful info on the 2 installed SATA HDD
Do you know what they are? Do they support SMART? What does 'hdparm -I'  tell you?
			 
			
			- 
				https://www.centos.org/forums/viewtopic.php?t=49139
...
A quick workaround to update your smart database is to edit line 46 in update-smart-drivedb (#nano /usr/sbin/update-smart-drivedb)
and replace the line/url with:
SRCEXPR='http://sourceforge.net/p/smartmontools/code/HEAD/tree/$location/smartmontools/drivedb.h?format=raw'
...
			 
			
			- 
				Tried edit update as above then got;
[root@mail sbin]# ./update-smart-drivedb
/usr/share/smartmontools/drivedb.h.error: rejected by /usr/sbin/smartctl, probably no longer compatible
then; 
[root@mail sbin]# hdparm -I /dev/sda
/dev/sda:
 HDIO_DRIVE_CMD(identify) failed: Invalid argument
and 
[root@mail sbin]# hdparm /dev/sda
/dev/sda:
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 30394/255/63, sectors = 488281250, start = 0
Thanks :)