Hello all,
after updating my system from OMV4 to OMV5 i am running into some issues, one of them is that the SMART menu in the Storage section, i get an error message and no drives are shown in the menu :
Erreur #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; smartctl -x '/dev/sdc' 2>&1' with exit code '1': smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.4.0-0.bpo.4-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, http://www.smartmontools.org
/dev/sdc: requires option '-d cciss,N'
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:166
Stack trace:
#0 /usr/share/php/openmediavault/system/storage/smartinformation.inc(198): OMV\System\Storage\SmartInformation->getData()
#1 /usr/share/php/openmediavault/system/storage/smartinformation.inc(383): OMV\System\Storage\SmartInformation->getAttributes()
#2 /usr/share/openmediavault/engined/rpc/smart.inc(91): OMV\System\Storage\SmartInformation->getTemperature()
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(635): Engined\Rpc\Smart->Engined\Rpc\{closure}()
#4 /usr/share/openmediavault/engined/rpc/smart.inc(107): OMV\Rpc\ServiceAbstract->asyncProc(Object(Closure))
#5 [internal function]: Engined\Rpc\Smart->enumerateDevices(NULL, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#7 /usr/share/openmediavault/engined/rpc/smart.inc(174): OMV\Rpc\ServiceAbstract->callMethod('enumerateDevice...', NULL, Array)
#8 [internal function]: Engined\Rpc\Smart->getList(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)
#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusLf...', '/tmp/bgoutputmc...')
#12 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#13 /usr/share/openmediavault/engined/rpc/smart.inc(209): OMV\Rpc\ServiceAbstract->callMethodBg('getList', Array, Array)
#14 [internal function]: Engined\Rpc\Smart->getListBg(Array, Array)
#15 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#16 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getListBg', Array, Array)
#17 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Smart', 'getListBg', Array, Array, 1)
#18 {main}
I am really not sure why this is happening, the only thing i can say from OMV4 to OMV5 is that now the swap drive is shown in the system file menu while it wasn't the case, at least for me, in OMV4. Any idea where to start looking ? i see in the log : "/dev/sdc: requires option '-d cciss,N'" funny enough is that my "/dev/sda" is a hardware raid drive, "/dev/sdb" is a hardware raid drive too, then, from "/dev/sdc" to "/dev/sdm" is a bunch of SAS drives connected to another raid card configured in JBOD with a software raid 6 created in the raid OMV menu. Hope this is helpful to help me troubleshooting this one ...