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

  • 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 5.5.11 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    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:
  • 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 5.5.11 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    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:
  • 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

  • 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 5.5.11 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    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!