SnapRAID does not add drive to array

  • Been using this and all good - until I add new drive through the OMV SnapRAID interface - disk 6 - which looks added. I tick the content and data boxes.


    I run the script and the output is:

    Disk 6 looks to be ignored (disk 5 does not have content).


    Any help appreciated.

    Inwin MS04 case with 315 W PSU

    ASUS Prime H310i-Plus R2.0 board

    Two port PCI-E SATA card

    16GB Kingston DDR4

    Intel Pentium Coffee Lake G5400 CPU

    Samsung Evo M.2 256GB OS drive

    4x4TB WD Red NAS drives + 1x4TB + 1x5TB Seagate drives - MergerFS pool

    Seagate 5TB USB drives - SnapRAID parity x 2

    • Official Post

    Disk 6 looks to be ignored (disk 5 does not have content).

    Not sure what that script does but I would guess the first thing you should do when adding a new disk is run a sync from the plugin (or command line if you feel like it).

    omv 7.1.1-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.1.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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 script is like the SnapRAID helper scripts you find but with more features it was written by a forum member (I think).

    GitHub - auanasgheps/snapraid-aio-script: The definitive all-in-one SnapRAID script. Diff, sync, scrub are things of the past. Manage SnapRAID and much, much more!
    The definitive all-in-one SnapRAID script. Diff, sync, scrub are things of the past. Manage SnapRAID and much, much more! - GitHub -…
    github.com


    I should have mentioned I tried sync from the CLI.

    Inwin MS04 case with 315 W PSU

    ASUS Prime H310i-Plus R2.0 board

    Two port PCI-E SATA card

    16GB Kingston DDR4

    Intel Pentium Coffee Lake G5400 CPU

    Samsung Evo M.2 256GB OS drive

    4x4TB WD Red NAS drives + 1x4TB + 1x5TB Seagate drives - MergerFS pool

    Seagate 5TB USB drives - SnapRAID parity x 2

  • I have just removed and re-added disk6 from the SnapRAID config page - the .conf file is updated. I added content to drive 5 - the .conf is updated. Bu these changes are not see on a sync:

    The .conf file has a weird name, could this be relevant?


    omv-snapraid-114a88d2-53ed-11ed-8eee-b3f2573b9c38.conf


    So the script seems to be irrelevant as doing snapraid sync from CLI also ignores disk 6 and the change to disk 5.

    Inwin MS04 case with 315 W PSU

    ASUS Prime H310i-Plus R2.0 board

    Two port PCI-E SATA card

    16GB Kingston DDR4

    Intel Pentium Coffee Lake G5400 CPU

    Samsung Evo M.2 256GB OS drive

    4x4TB WD Red NAS drives + 1x4TB + 1x5TB Seagate drives - MergerFS pool

    Seagate 5TB USB drives - SnapRAID parity x 2

    Edited 2 times, last by johnvick ().

  • No, a small amount of video files. It was empty when I started this but mergerfs has added stuff.

    Inwin MS04 case with 315 W PSU

    ASUS Prime H310i-Plus R2.0 board

    Two port PCI-E SATA card

    16GB Kingston DDR4

    Intel Pentium Coffee Lake G5400 CPU

    Samsung Evo M.2 256GB OS drive

    4x4TB WD Red NAS drives + 1x4TB + 1x5TB Seagate drives - MergerFS pool

    Seagate 5TB USB drives - SnapRAID parity x 2

  • Have you run a sync after files were added?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • just tried and hasn't solved problem.


    Before this I deleted all drives and readded with content and data on 6 drives and the other two parity. The conf file looks as it should.


    snapraid sync still does not add content file to drives 5 and 6, and drive 6 still is not mentioned in the end of sync report.


    The just added file would have landed on disk 6 due to mergerfs rules.


    I see disks 5 and 6 don't have a label is that relevant?

    Inwin MS04 case with 315 W PSU

    ASUS Prime H310i-Plus R2.0 board

    Two port PCI-E SATA card

    16GB Kingston DDR4

    Intel Pentium Coffee Lake G5400 CPU

    Samsung Evo M.2 256GB OS drive

    4x4TB WD Red NAS drives + 1x4TB + 1x5TB Seagate drives - MergerFS pool

    Seagate 5TB USB drives - SnapRAID parity x 2

  • johnvick

    Changed the title of the thread from “snapraid-aio-script.sh” to “SnapRAID does not add drive to array”.
    • Official Post

    Ah, you have the testing repo enabled and got the new snapraid plugin that support multiple snapraid arrays. It will break existing scripts since it creates multiple .conf files and they all have the array's uuid in the filename. You can easily tell by the new Arrays tab.

    omv 7.1.1-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.1.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!

  • Thanks deleted the plugin, disabled testing repo, reinstalled plugin and all looking good.

    Inwin MS04 case with 315 W PSU

    ASUS Prime H310i-Plus R2.0 board

    Two port PCI-E SATA card

    16GB Kingston DDR4

    Intel Pentium Coffee Lake G5400 CPU

    Samsung Evo M.2 256GB OS drive

    4x4TB WD Red NAS drives + 1x4TB + 1x5TB Seagate drives - MergerFS pool

    Seagate 5TB USB drives - SnapRAID parity x 2

    • Official Post

    Sooner or later, I will have to release the new version. People will need to port their script to use the new names.

    omv 7.1.1-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.1.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!

  • I believe I may have eliminated the helper script a source of the problem as doing # snapraid sync from CLI did not add the new drive or the content files to the two drives that did not have content?

    Inwin MS04 case with 315 W PSU

    ASUS Prime H310i-Plus R2.0 board

    Two port PCI-E SATA card

    16GB Kingston DDR4

    Intel Pentium Coffee Lake G5400 CPU

    Samsung Evo M.2 256GB OS drive

    4x4TB WD Red NAS drives + 1x4TB + 1x5TB Seagate drives - MergerFS pool

    Seagate 5TB USB drives - SnapRAID parity x 2

Participate now!

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