Snapraid-diff not compatible to two parity drives

  • Hello,


    I have a problem with omv-snapraid-diff:

    Code
    + echo '[2018-06-27 20:45:07] omv-snapraid-diff: WARN: '\''Parity file (/srv/dev-disk-by-id-ata-ST3000DM001-9YN166_Z1F0GY9A/snapraid.parity)
    not found!'\'''
    + exit 1
    root@homeserver:~# ls /srv/dev-disk-by-id-ata-ST3000DM001-9YN166_Z1F0GY9A/
    aquota.group  aquota.user  lost+found  snapraid.2-parity  snapraid.content


    I can fix this by


    Code
    root@homeserver:~# ln -s /srv/dev-disk-by-id-ata-ST3000DM001-9YN166_Z1F0GY9A/snapraid.2-parity  /srv/dev-disk-by-id-ata-ST3000DM001-9YN166_Z

    I think, that the diff-script should also check for *.2-parity (and higher). No?


    Greetings,
    Hendrik

  • Do you have two parity disks or only one?


    If only one, the parity file should be named snapraid.parity


    I have two parity drives, the parity files are named snapraid.parity and snapraid.2-parity and the script works fine.

    --
    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.

    Einmal editiert, zuletzt von gderf ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!