[HowTo] SnapRAID in OMV

  • Hey, posting here with suggestions for the excellent Snapraid How-To guide.


    First, consider linking to the plugin documentation at either the top or the bottom: https://wiki.omv-extras.org/do…mv6:omv6_plugins:snapraid


    Second, small exclusion rule correction.


    Original:


    > For directories you must use the ending slash, e.g exclude /Users/ will exclude every Users-directory, exclude /User/ (without the ending slash) will exclude every file named "Users"


    Fixed:


    > For directories you must use the ending slash, e.g exclude /Users/ will exclude every Users-directory at the root of a drive, exclude /Users (without the ending slash) will exclude a file named "Users" in the root directory of the drive.


    One Question:


    In the wiki, it describes the scheduling options. But it does not spell out what the "Every N [time]" does, and there is an ambiguity in Day of month. Here is how I understand what it is trying to do:


    For "Minute" if it reads 5, it will run every hour on the "5", with the box unchecked. If you check the box, it will run every 5 minutes.


    For "Hour", if it reads "5", it will run at 5 A.M., with the box unchecked. If you check the box, it will run every 5 hours.


    For "Day of month" if it reads 5, it will run on the 5th day of the month, with the box unchecked. If you check the box, it will run every 5 days. E.g., 5,10,15,20,25,(30 except in February).


    The ambiguity to me is, will the counting restart from 0 at the beginning of each hour, day, month, or will it roll over?


    For example, if you set minute to 50, hour to *, and check the box, will it run at 00h50, 01h50, 02h50? Or will it truly be every 50 minutes like this? 00h50, 01h40, 02h30...? Same concept with hours and days of the month.


    Specifically I want to know, because I want to schedule SMART tests for Day of the month #1, 2, 3, and only have the scheduled diff start on day 4.

  • Any update regarding adding some of the features from the AiO script by auanasgheps?

    Not yet, but it's still my next objective. I first have to release the next major update.

    OMV BUILD - MY NAS KILLER - OMV 7.x + omvextrasorg (updated automatically every week)

    NAS Specs: Core i3-8300 - ASRock H370M-ITX/ac - 16GB RAM - Sandisk Ultra Flair 32GB (OMV), 1TB NVME SSD (Docker Apps), 2x16TB HDDs w/ SnapRAID - Fractal Design Node 304 - Be quiet! Pure Power 11 350W


    My all-in-one SnapRAID script!

  • Sounds interesting. Care to share some details of what me might expect to see in the update? 8|

    It will include a new notification system which is much more reliable and flexible compared to the previous one. And also a couple of minor changes, plus lots of bugfixes and logic/safeguards improvements.


    Most of what I'm saying is already on Github, and the installation is super easy.

    That's why I haven't focused on the integration with the plugin, but it will happen.

    OMV BUILD - MY NAS KILLER - OMV 7.x + omvextrasorg (updated automatically every week)

    NAS Specs: Core i3-8300 - ASRock H370M-ITX/ac - 16GB RAM - Sandisk Ultra Flair 32GB (OMV), 1TB NVME SSD (Docker Apps), 2x16TB HDDs w/ SnapRAID - Fractal Design Node 304 - Be quiet! Pure Power 11 350W


    My all-in-one SnapRAID script!

Participate now!

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