hey everyone
Not sure if i got the right spot. sorry if its in the wrong section.
I've been scouring around for a while to get this one working. i seem to be having troubles retrieving smart data using pySMART. i have a HP ML350 G6 with an M1015 flashed to IT mode running 6 2TB western digital red drives and a samsung evo 840 120gb as the l2arc cache . using smartctl i am able to grab my drives smart data using "smartctl -d sat -a /dev/pass0"
when i try to access the smart data under the system tab no items are shown just an empty grid. i'm pretty sure its pysmart failing as the output in the jail is listing pySMART files.
I tracked it down further and tried to use "from pySMART.device import Device" in python to pull the smart data. my l2arc works fine. i get a further error when i try to access pass0 - 5.
I hope someone can shed some light. i'm in too deep haha
Not sure if i got the right spot. sorry if its in the wrong section.
I've been scouring around for a while to get this one working. i seem to be having troubles retrieving smart data using pySMART. i have a HP ML350 G6 with an M1015 flashed to IT mode running 6 2TB western digital red drives and a samsung evo 840 120gb as the l2arc cache . using smartctl i am able to grab my drives smart data using "smartctl -d sat -a /dev/pass0"
when i try to access the smart data under the system tab no items are shown just an empty grid. i'm pretty sure its pysmart failing as the output in the jail is listing pySMART files.
Code:
2016-05-29 20:24:27 :: modules.stats :: ERROR :: Error Pulling S.M.A.R.T. data 'layer' Traceback (most recent call last): File "/HTPC-Manager/modules/stats.py", line 532, in smart_info devlist = DeviceList() File "/HTPC-Manager/libs/pySMART/device_list.py", line 51, in __init__ self._initialize() File "/HTPC-Manager/libs/pySMART/device_list.py", line 106, in _initialize self.devices.append(Device(name)) File "/HTPC-Manager/libs/pySMART/device.py", line 140, in __init__ self.update() File "/HTPC-Manager/libs/pySMART/device.py", line 433, in update smartctl_type[self.interface], self.name), shell=True, KeyError: 'layer'
I tracked it down further and tried to use "from pySMART.device import Device" in python to pull the smart data. my l2arc works fine. i get a further error when i try to access pass0 - 5.
Code:
Python 2.7.11 (default, May 8 2016, 06:05:17) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9 Type "help", "copyright", "credits" or "license" for more information. >>> from pySMART.device import Device >>> pass0 =Device('/dev/pass0') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/pySMART/device.py", line 140, in __init__ self.update() File "/usr/local/lib/python2.7/site-packages/pySMART/device.py", line 434, in update smartctl_type[self.interface], self.name), shell=True, KeyError: '-d'
I hope someone can shed some light. i'm in too deep haha