New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HP 320GB ioDrive Duo and disable smart #228

Closed
Fever-Wits opened this Issue Dec 6, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@Fever-Wits

Fever-Wits commented Dec 6, 2018

Hello,
I installed an HP 320GB ioDrive Duo (Fusion-io ioDrive Duo) on my server. When I try to see smart disk status I get the following error

Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; smartctl -x '/dev/fioa' 2>&1' with exit code '1': smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.18-9-pve] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, smartmontools.org /dev/fioa: Unable to detect device type Please specify device type with the -d option. Use smartctl -h to get a usage summary

Error #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; smartctl -x '/dev/fioa' 2>&1' with exit code '1': smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.18-9-pve] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, smartmontools.org

/dev/fioa: Unable to detect device type
Please specify device type with the -d option.

Use smartctl -h to get a usage summary
in /usr/share/php/openmediavault/system/storage/smartinformation.inc:161
Stack trace:
#0 /usr/share/php/openmediavault/system/storage/smartinformation.inc(193): OMV\System\Storage\SmartInformation->getData()
#1 /usr/share/php/openmediavault/system/storage/smartinformation.inc(377): OMV\System\Storage\SmartInformation->getAttributes()
#2 /usr/share/openmediavault/engined/rpc/smart.inc(86): OMV\System\Storage\SmartInformation->getTemperature()
#3 [internal function]: OMVRpcServiceSmart->enumerateDevices(NULL, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#5 /usr/share/openmediavault/engined/rpc/smart.inc(165): OMV\Rpc\ServiceAbstract->callMethod('enumerateDevice...', NULL, Array)
#6 [internal function]: OMVRpcServiceSmart->getList(Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc{closure}('/tmp/bgstatustW...', '/tmp/bgoutputr3...')
#10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#11 /usr/share/openmediavault/engined/rpc/smart.inc(200): OMV\Rpc\ServiceAbstract->callMethodBg('getList', Array, Array)
#12 [internal function]: OMVRpcServiceSmart->getListBg(Array, Array)
#13 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#14 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getListBg', Array, Array)
#15 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Smart', 'getListBg', Array, Array, 1)
#16 {main}

I know this device does not have smart support, but I do not know how to tell the system to ignore it.
Has anyone had a similar problem?
How can I hide or disable scanning on the fio device?

@ryecoaaron

This comment has been minimized.

Contributor

ryecoaaron commented Dec 6, 2018

@Fever-Wits

This comment has been minimized.

Fever-Wits commented Dec 7, 2018

This is my post in which I have been directed to look here. I did not find a topic to solve my problem and I opened this topic.

votdev added a commit to votdev/openmediavault that referenced this issue Dec 7, 2018

Issue openmediavault#228: Disable S.M.A.R.T. for FusionIO devices.
Signed-off-by: Volker Theile <votdev@gmx.de>

votdev added a commit to votdev/openmediavault that referenced this issue Dec 7, 2018

Issue openmediavault#228: Disable S.M.A.R.T. for FusionIO devices.
Signed-off-by: Volker Theile <votdev@gmx.de>

votdev added a commit to votdev/openmediavault that referenced this issue Dec 7, 2018

Issue openmediavault#228: Disable S.M.A.R.T. for FusionIO devices.
Signed-off-by: Volker Theile <votdev@gmx.de>

votdev added a commit to votdev/openmediavault that referenced this issue Dec 7, 2018

Issue openmediavault#228: Disable S.M.A.R.T. for FusionIO devices.
Signed-off-by: Volker Theile <votdev@gmx.de>

votdev added a commit that referenced this issue Dec 7, 2018

Merge pull request #229 from votdev/issue_228
Issue #228: Disable S.M.A.R.T. for FusionIO devices

votdev added a commit that referenced this issue Dec 7, 2018

Issue #228: Disable S.M.A.R.T. for FusionIO devices.
(cherry picked from commit 13c2a6f)
Signed-off-by: Volker Theile <votdev@gmx.de>

@votdev votdev closed this Dec 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment