Open ezar opened 9 years ago
Dunno. Seems some usb stuff. Do you have a usb bridge or something?
Using smartctl in a terminal, works ok:
pi@raspberrypi:~$ sudo smartctl --all /dev/sda
smartctl 6.4 2014-10-07 r4002 [armv7l-linux-4.1.6-v7+](local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION === Model Family: SAMSUNG SpinPoint F2 EG Device Model: SAMSUNG HD154UI Serial Number: S1XWJ1BZ201092 LU WWN Device Id: 5 0024e9 002f2191a Firmware Version: 1AG01118 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: ATA/ATAPI-7, ATA8-ACS T13/1699-D revision 3b Local Time is: Thu Sep 10 20:37:01 2015 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled
And if you try smartctl -d "yourinterfacetype" -a /dev/sda
?
It's ok
pi@raspberrypi:~$ sudo smartctl -d usbjmicron -a /dev/sda
smartctl 6.4 2014-10-07 r4002 [armv7l-linux-4.1.6-v7+](local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION === Model Family: SAMSUNG SpinPoint F2 EG Device Model: SAMSUNG HD154UI Serial Number: S1XWJ1BZ201092 LU WWN Device Id: 5 0024e9 002f2191a Firmware Version: 1AG01118 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: ATA/ATAPI-7, ATA8-ACS T13/1699-D revision 3b Local Time is: Thu Sep 10 23:23:21 2015 CEST 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
Ok, the wrapper we use does not support that. It fails here I think https://github.com/Hellowlol/HTPC-Manager/blob/master2/libs/pySMART/utils.py#L57 and other places.
Any change you can dump the entire response from that command to a gist?
Here it is: https://gist.github.com/ezar/ca4faaee08a9607cb7a9
Can you add this option?
2015-09-09 20:41:21 modules.stats ERROR Pulling S.M.A.R.T. data 'usbjmicron'
Whats the error?
BRANCH master2 Current commit b0d13a51a3669abda57a08cb527b009d95c1dd3d Auto update False OS Linux-4.1.6-v7+-armv7l-with-debian-8.0 Python version: 2.7.9 (default, Mar 8 2015, 00:52:26) [GCC 4.9.2]