SnapRAID: Parity drive not spinning down since last sync job

  • I've noticed that the last remaining HDD in my all SSD system is suddenly no longer going into into standby like it used to do. The disk is only used as a parity drive for snapRAID and, besides a weekly short SMART self-test, no other process is accessing the share for this drive.


    As far as I can tell, the disk has kept spinning since the last automated snapRAID. According to the log, the job was done ofter seven minutes. The configuration of the drive hasn't changed and is still set to spindown.



    Log SnapRAID Job.txt


    Can I check somewhere what is keeping the disk from properly going into standby again?

  • I had to restart the whole system to get the drive to spin-down again. But this is obviously not the right solution. I'll monitor the situation and see if it's going to happen again when the next scheduled snapRADI sync job is run.

    • Official Post

    Can't really help much since I don't spin down drives and most of my OMV is on nvme or virtual disk. But I am curious if the Spin down button on the Drives tab of the Snapraid plugin would spin the drive down?

    omv 7.7.19-2 sandworm | 64 bit | 6.14 proxmox kernel

    plugins :: omvextrasorg 7.0.3 | kvm 7.2.0 | compose 7.6.13 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.2 | writecache 7.0.0-12


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • As I've already rebooted the system, I'm unable to check that. But I'll give that a try if and when the problem occurs again.

  • Can't really help much since I don't spin down drives and most of my OMV is on nvme or virtual disk. But I am curious if the Spin down button on the Drives tab of the Snapraid plugin would spin the drive down?

    So, the weekly scheduled task was run last night and the parity HDD again has kept running. The drive immediately goes into standby again, when I manually use the "spin down" option unter SnapRAID > Arrays.

    • Official Post

    The scheduled task is running the diff script or just a snapraid sync command?

    omv 7.7.19-2 sandworm | 64 bit | 6.14 proxmox kernel

    plugins :: omvextrasorg 7.0.3 | kvm 7.2.0 | compose 7.6.13 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.2 | writecache 7.0.0-12


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • The task is running the following command:

    for conf in /etc/snapraid/omv-snapraid-*.conf; do /usr/sbin/omv-snapraid-diff ${conf}; done

    • Official Post

    That is the diff script. The OMV 8.x version of the diff script will be the one written by auanasgheps and maybe it could include an option to spin down the drives using snapraid.

    omv 7.7.19-2 sandworm | 64 bit | 6.14 proxmox kernel

    plugins :: omvextrasorg 7.0.3 | kvm 7.2.0 | compose 7.6.13 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.2 | writecache 7.0.0-12


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Just noticed that the drive is spinning again. But this time I can't manually spin down the disk again.

  • Another interesting observation:

    When the HDD is spinning from last nights SnaipRaid job, simply login into the OMV gui seems to reset the HDD spindown timer and the HDD goes into standby after the 5 minutes set as the spindown timer value.

  • I also have all my drives spinning, but to save a little power could you just put the parity drive on spin down and leave the data drives spinning?


    ML

  • I actually already have enabled the spin-down-timer for the parity drive. And this works fine during everyday use. Only the SnapRaid job somehow refuses to let the drive spin down again.

    • New
    • Official Post

    Not sure if it will help but snapraid 13.0 was just released and it has this new flag:

    Quote

    Added a new -s, --spin-down-on-error option that spins down all disks when a command ends with an error.

    omv 7.7.19-2 sandworm | 64 bit | 6.14 proxmox kernel

    plugins :: omvextrasorg 7.0.3 | kvm 7.2.0 | compose 7.6.13 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.2 | writecache 7.0.0-12


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • How do you tell what version is installed? I looked at the service and can't find it in any of the menu options. It says 7.0.13 installed when I look at the plug-ins. Was it automatically updated?


    Thanks


    ML

    • New
    • Official Post

    How do you tell what version is installed

    dpkg -l snapraid

    It says 7.0.13 installed when I look at the plug-ins.

    That is the plugin version not snapraid version


    Was it automatically updated?

    Nope. The plugin uses whatever version is in the Debian repos - https://packages.debian.org/se…n=names&keywords=snapraid


    I doubt snapraid 13.0 will be put in the Debian 12 (OMV7) repo. Even when it in the Debian 13 (OMV8) repo, the plugin and/or the snapraid script will have to be updated to use any new features.

    omv 7.7.19-2 sandworm | 64 bit | 6.14 proxmox kernel

    plugins :: omvextrasorg 7.0.3 | kvm 7.2.0 | compose 7.6.13 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.2 | writecache 7.0.0-12


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • New
    • Official Post

    Whats the easiest way to update it if OMV doesn't update plug-ins?

    Build from source. But why? If the plugin and script don't use it, what would be the point?

    omv 7.7.19-2 sandworm | 64 bit | 6.14 proxmox kernel

    plugins :: omvextrasorg 7.0.3 | kvm 7.2.0 | compose 7.6.13 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.2 | writecache 7.0.0-12


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

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