Specify the device type in gsmartcontrol
From raju
Short version
In gsmartcontrol, the device type can be specified by using
Options -> Preferences -> Drives -> fill the "Device" and "Parameters" fields-> Add -> OK
For example,
Device: /dev/sdf Parameters: -d sat
would be equivalent to adding "-d sat /dev/sdf" to the smartctl command.
Todo:- Attach a screenshot
Long version
I encountered the following errors when running smartctl
# smartctl -i /dev/sdf smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org /dev/sdf: Unknown USB bridge [0x152d:0x1561 (0x106)] Please specify device type with the -d option. Use smartctl -h to get a usage summary
But it works if the device type is explicitly set
# smartctl -d sat -i /dev/sdf smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digital Caviar Blue (SATA 6Gb/s) Device Model: WDC WD10EZEX-00BN5A0 Serial Number: WD-WCC3F2XV82FT LU WWN Device Id: 5 0014ee 261c6046b Firmware Version: 01.01A01 User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 7200 rpm Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Thu Dec 31 02:25:44 2015 EST SMART support is: Available - device has SMART capability. SMART support is: Enabled
My set up is
Hard drive -> docking station -> usb port of computer
Hard drive info:
1TB Western Digital Blue hard drive
http://www.amazon.com/gp/product/B0088PUEPK
Docking station info:
Dual Bay External Hard Drive Enclosure
http://www.amazon.com/gp/product/B00IKC14OG
Now the goal is to make gsmartcontrol aware of the '-d sat' option for the /dev/sdf device. I was able to achieve this by doing
Options -> Preferences -> Drives Device: /dev/sdf Parameters: -d sat Add -> Ok