Issue configuring advanced power management

  • Hello,

    when I try to change the advanced power management setting in the drives menu I get the following error.


    Code
    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 hdparm 2>&1' with exit code '1': raspberrypi: ---------- ID: configure_hdparm_conf Function: file.managed Name: /etc/hdparm.conf Result: True Comment: File /etc/hdparm.conf updated Started: 19:07:33.960357 Duration: 249.399 ms Changes: ---------- diff: --- +++ @@ -2,6 +2,7 @@ # WARNING: Do not edit this file, your changes will get lost. /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B0_WD-WCAW31034421 { + apm = 127 spindown_time = 60 write_cache = off } ---------- ID: reload_hdparm_/dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B0_WD-WCAW31034421 Function: cmd.run Name: /lib/udev/hdparm Result: False Comment: Command "/lib/udev/hdparm" run Started: 19:07:34.214996 Duration: 5046.409 ms Changes: ---------- pid: 11663 retcode: 22 stderr: stdout: /dev/sda: setting Advanced Power Management level to 0x7f (127) setting drive write-caching to 0 (off) setting standby to 60 (5 minutes) write-caching = 0 (off) APM_level = 127 Summary for raspberrypi ------------ Succeeded: 1 (changed=2) Failed: 1 ------------ Total states run: 2 Total run time: 5.296 s

    This is a fresh install of omv 5 on a raspbeery pi.

    Can you help me interpret the error message or fix the issue?


    Thank you for your time and help!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!