Hello!
I can't enable the S.M.A.R.T. functionality via GUI.
When I go to S.M.A.R.T. -> Settings, toggle Enable, Save, and finally Apply I get the error window with the message:
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.UTF-8; omv-salt deploy run --no-color smartmontools 2>&1' with exit code '1': debian:
----------
ID: configure_default_smartmontools
Function: file.managed
Name: /etc/default/smartmontools
Result: True
Comment: File /etc/default/smartmontools is in the correct state
Started: 18:01:50.282506
Duration: 22.204 ms
Changes:
----------
ID: configure_smartd_conf
Function: file.managed
Name: /etc/smartd.conf
Result: True
Comment: File /etc/smartd.conf is in the correct state
Started: 18:01:50.304825
Duration: 40.431 ms
Changes:
----------
ID: enable_smart_on_/dev/disk/by-id/ata-WDC_WD40EFRX-DISK-ID-HERE
Function: cmd.run
Name: export LANG=C; smartctl -s on '/dev/disk/by-id/ata-WDC_WD40EFRX-DISK-ID-HERE'
Result: True
Comment: onlyif condition is false
Started: 18:01:50.345833
Duration: 976.795 ms
Changes:
----------
ID: enable_smart_on_/dev/disk/by-id/ata-WDC_WD40EFRX-DISK-ID-HERE
Function: cmd.run
Name: export LANG=C; smartctl -s on '/dev/disk/by-id/ata-WDC_WD40EFRX-DISK-ID-HERE'
Result: True
Comment: onlyif condition is false
Started: 18:01:51.322929
Duration: 28.624 ms
Changes:
----------
ID: start_smartmontools_service
Function: service.running
Name: smartmontools
Result: False
Comment: Service smartmontools is already enabled, and is dead
Started: 18:01:51.362324
Duration: 71.631 ms
Changes:
Summary for debian
------------
Succeeded: 4
Failed: 1
------------
Total states run: 5
Total run time: 1.140 s in /usr/share/php/openmediavault/system/process.inc:195
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusuo...', '/tmp/bgoutputtC...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
Alles anzeigen
System information:
Version: 5.6.2-1 (Usul)
Processor: Common KVM processor (OVM lives in guest VM in Proxmox)
Kernel: Linux 5.4.106-1-pve
The disks are passed through via PCI.
I run NFS (mirror) pool on the disks.
One of the filesystems on the pool is encrypted (I have to unlock it every time I restart the machine).
In my OMV-Extras I have:
Testing repo - untoggled
Extras repo - toggled
Backports - toggled
What Can I do, to enable S.M.A.R.T. on my machine?
Thanks,