[HowTo] SnapRAID in OMV

  • As ryecoaaron said, Plex and minidlna are servers that stream to clients using DLNA rather than relying on NFS/SMB. They allow you to consolidate multiple sources under each "library" (eg. TV, Movies, Music, etc.) you create.


    Quote from "ryecoaaron"

    I am changing snapraid to add its own samba share for the pool just like greyhole adds samba shares. I will also add a button in the commands tab to execute the pool statement. All of this is why I am working on an aufs plugin which would be a read/write pool. Then you wouldn't need the snapraid pool.


    Awesome news ryecoaaron. I have played around with aufs a bit and I like that it supports pretty much any underlying filesystem without introducing CPU overhead like mhddfs (a FUSE filesystem). I look forward to trying out the plugin. Currently, I think aufs is the best alternative to something like Greyhole as they provide quite similar functionality with aufs being a lighter weight option that doesn't require dependencies like MySQL and also allows NFS (Greyhole is SMB only). I will have to spend some time to see where the real tradeoffs are.

  • Thanks again everyone. Does minidlna preserve folder structures? For Mede8er I need an about.jpg and folder.jpg and xml file in the same folder as the movie file.

  • Quote from "Carnajo"

    Does minidlna preserve folder structures? For Mede8er I need an about.jpg and folder.jpg and xml file in the same folder as the movie file.


    Yes.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    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!

  • Update plugin with pooling is in repo.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    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!

  • FYI, I hate to make more work for you, but the latest SnapRAID is currently v5.1. I assume you are compiling SnapRAID from source for the plugin and GitHub shows v5.0 for the binary from what I can tell. Unfortunately, I am unable to check this on my test OMV VM atm.


    Thanks again for the work on this plugin. I hope to find time to go over the plugin development posts, then perhaps I can take a stab at contributing more directly to OMV.

  • I will update (wrote a script to download and compile). I didn't notice 5.1 was out. Thanks!


    ** Update is in the repo (i386 will come tomorrow)

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    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!

  • Viald's comments about Greyhole not working with Plex are inaccurate. It works perfectly with it if the shares are not mounted. Hellspawn makes many good comments and his information is accurate. Just read through all these last night because I've been thinking about Greyhole(for pooling & balancing) over SnapRaid(for disk recovery). But after thinking it through I believe it is still possible to have some issues. I think the Raid features and Pooling need to be integrated to be perfect. Has anyone tried FlexRaid???

  • Quote from "tekkbebe"

    Has anyone tried FlexRaid???


    I think you want zfs :)

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    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!

  • Hi, currently i'm using LVM for pooling my drives and obtain a one big partition for storaging >50gb files and I mount this lvm as a share in OMV, but the performances are very poor (44mb/s in write, tested with dd).
    The disks, obviously, can run faster. I'm sure that the the bottle neck is in the LVM usage.
    It's possible to use snapraid just for a simple pooling? I don't need the parity disk, if one disk crash and I lost the data saved on that peace.........

  • snapraid's pooling is read only. I am working on a plugin for aufs which is what you want.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    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!

  • Why happen the error when I apply changes.The OMV on virtualbox testing.

    Code
    Failed to execute command 'sudo omv-mkconf snapraid 2>&1': To use the 'pool' command you must set the pool directory in the configuration file Self test... Loading state from /media/2d0bc34e-77bd-4369-b223-8d84abe286ef/.content...

    China|OMV 3 - 64 bit HP N54L,4G RAM,8G SSD(OS),3Tx1(Data),1T×1(Data),250G×1(Data),160G×1(Data).

  • Can you post a pic of your snapraid settings screen?

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    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!

  • That is a bug. Even if you don't have the pool enabled, it tries to start the pool. I will fix it.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    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!

  • Quote from "ryecoaaron"

    That is a bug. Even if you don't have the pool enabled, it tries to start the pool. I will fix it.


    Thanks,I feel SnapRAID is very suitable for home. :D

    China|OMV 3 - 64 bit HP N54L,4G RAM,8G SSD(OS),3Tx1(Data),1T×1(Data),250G×1(Data),160G×1(Data).

  • amd64 package updated. I will upload i386 later.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    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!

  • Interesting read. The developer of snapraid is creating a linux module for raid.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    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!