Snapraid install fails; no raid0 persistence

  • Hello,


    TL;DR; Raid0 fails after reboot. Snapraid fails to install even after omv update

    Code
    The following packages have unmet dependencies:
     openmediavault-snapraid : Depends: snapraid (>= 9.1) but it is not installable
    E: Unable to correct problems, you have held broken packages.

    Goal: To make a RAID0 NAS and seedbox out of 3 usb sticks after HD died on trusty RPi3


    Fails:

    • Array persistence after reboot. most probably PEBKAC. Please see RAID0 creation commands below
    • Snapraid plugin installation
    Code
    udevadm control --stop-exec-queue
    mdadm --create --verbose /dev/md0 --run --level=stripe --raid-devices=3 /dev/sda /dev/sdb /dev/sdc 
    mdadm --stop /dev/md0
    mdadm --detail --scan >> /etc/mdadm/mdadm.conf #
    mdadm -A /dev/md0 /dev/sda /dev/sdb /dev/sdc --homehost=kodukoer --update=homehost
    udevadm control --start-exec-queue

    I have added the UUID of the array to fstab, but not quite sure either if it's correct. Just in case will bring it up here as well

    Code
    UUID=77bd567a-a893a0b4-03eac542-27926cc9 /media/kuut ext4 rw,auto,nofail,acl,user_xattr,noexec,async,suid,dev,jqfmt=vfsv0,acl 0 2


    Any feedback (pointers, hints, flame etc) is greatly appreciated!


    Edit: added mdadm conf line

    To err is human. To compute is calculator.

    Einmal editiert, zuletzt von blo ()

    • Offizieller Beitrag

    Please don't use usb raid on an RPi. Yes, I know it only has usb.


    Why are you creating the raid array outside the web interface? If you mount it with your own fstab entry, you can't use it in any plugin.


    What is the output of: apt-cache policy snapraid

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • > Please don't use usb raid on an RPi. Yes, I know it only has usb.
    I was sure hoping it can handle raid :(


    > Why are you creating the raid array outside the web interface?
    Due to the fact that:

    • Cannot install snapraid
    • Once raid was created from RAID Management, there was following output:

    To err is human. To compute is calculator.

    • Offizieller Beitrag

    I was sure hoping it can handle raid

    It can handle raid. I just have seen too many problems with it and any problems with raid 0 would cause all data to be lost.


    Did you try the apt clean button in omv-extras? You don't use snapraid with raid arrays typically.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • It can handle raid. I just have seen too many problems with it and any problems with raid 0 would cause all data to be lost.

    I'm not really worried about data loss at the moment but rather in proof that raid can be created. Raid0 or 5.

    Did you try the apt clean button in omv-extras?

    I totally missed that. Tried but to no avail. Installing snap gives same error

    You don't use snapraid with raid arrays typically.

    Indeed it is a backup program for disk arrays. It was mentioned on some forum for creating arrays and I kind of stuck with it.


    Also, you were asking for apt-cache snapraid policy output. Here it is:

    Code
    snapraid:
      Installed: (none)
      Candidate: (none)
      Version table:

    To err is human. To compute is calculator.

    Einmal editiert, zuletzt von blo ()

    • Offizieller Beitrag

    What is the output of: cat /etc/apt/sources.list.d/omv-extras-org.list

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • cat /etc/apt/sources.list.d/omv-extras-org.list output:


    Code
    # This is file is generated.
    # OMV-Extras repos
    # 
    # OMV-Extras.org
    deb https://dl.bintray.com/openmediavault-plugin-developers/erasmus jessie main
    # Debian Backports
    deb http://httpredir.debian.org/debian jessie-backports main contrib

    looks OK AFAIK

    To err is human. To compute is calculator.

    • Offizieller Beitrag

    Yep, it is and I wasn't thinking. I haven't compiled a snapraid package on armhf yet because it takes SOOOOOOOO long on an RPi and no one uses snapraid on an RPi. I will see about compiling it though.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    armhf package in testing repo now.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    I have to re-compile the arm package. It takes forever...

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

Jetzt mitmachen!

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