[HowTo] SnapRAID in OMV
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
-
Symbiot wrote:
I'm unsure who's the dev behind the plugin for OMV but since you created the thread I'm pinging you
Would it be possible to either add an "extra arguments" variable or alternatively add stuff like:
SYNC_WARN_THRESHOLD and other snapraid options?
omv 4.1.4 arrakis | 64 bit | 4.15 backports kernel | omvextrasorg 4.1.3
omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers
Please read this before posting a question.
Please don't PM for support... Too many PMs! -
-
ryecoaaron wrote:
Symbiot wrote:
I'm unsure who's the dev behind the plugin for OMV but since you created the thread I'm pinging you
Would it be possible to either add an "extra arguments" variable or alternatively add stuff like:
SYNC_WARN_THRESHOLD and other snapraid options?
I never thought to look if the variable was a native snapraid command.. I found it here:
zackreed.me/snapraid-split-parity-sync-script/
and thought it'd be a great addition :-| -
Symbiot wrote:
I never thought to look if the variable was a native snapraid command.. I found it here:
zackreed.me/snapraid-split-parity-sync-script/
and thought it'd be a great addition :-|
omv 4.1.4 arrakis | 64 bit | 4.15 backports kernel | omvextrasorg 4.1.3
omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers
Please read this before posting a question.
Please don't PM for support... Too many PMs! -
-
Ok. So this is just a different diff script?
Maybe someone will look into adding it.. I feel it's above my skill level. -
ryecoaaron wrote:
I am the dev. I guess I could add that but I don't see it in the snapraid manual? What other options are you looking at?
I browsed the plugin code on github but didn't find the parts that actually install snap, so I'm unsure of the logic when this plugin has an update. Thanks!
p.s. I actually created a thread SnapRAID - Plugin Version is old? -
-
Quick question. Is there any way to automate daily sync beyond writing your own script and schedualing it with a cron job?
-
da_guy2 wrote:
Quick question. Is there any way to automate daily sync beyond writing your own script and schedualing it with a cron job?
Google for more scripts.OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380The post was edited 1 time, last by gderf ().
-
-
New
What is the snapraid-diff.conf for?
I want to set up my scrubs to run on specific days and not 100% every 7 days.
Does this run automatically or can I just set up my scrubs via cron?OMV 4.1.4 Arrakis | 34TB SnapRAID+MergerFS
Supermicro X10SLM+-F| Xeon E3-1285L | 16gb ECC Ram | LSI SAS9220-8i
5 x 8TB WD Red | 2x 3TB WD Red | 128gb Samsung 830 EVO -
New
snapraid-diff.conf holds the settings for the script that is provided by OMV.
The settings come from what is entered in OMV Services | SnapRAID | Diff Script Settings, but the script does not run automatically unless scheduled as a task or via a manual cron entry.
You can schedule whatever you want via cron or OMV's built in task scheduler - either OMV's provided script, or another freely available one, or something you write yourself.OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380 -
-
New
I see, thank you.
In your opinion is a weekly whole array scrub best practice or should I schedule a lower percentage to run every few days?
How stressfuly for a drive is a scrub?OMV 4.1.4 Arrakis | 34TB SnapRAID+MergerFS
Supermicro X10SLM+-F| Xeon E3-1285L | 16gb ECC Ram | LSI SAS9220-8i
5 x 8TB WD Red | 2x 3TB WD Red | 128gb Samsung 830 EVO -
New
It depends on how many drives and how much they hold, but for me, a 100% scrub would be impractical. It would take far too long to complete. I have no idea how stressful this would be.
I diff, sync, and scrub 10% every other day.OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380 -
-
New
Do you use a script that you'd be willing to share?OMV 4.1.4 Arrakis | 34TB SnapRAID+MergerFS
Supermicro X10SLM+-F| Xeon E3-1285L | 16gb ECC Ram | LSI SAS9220-8i
5 x 8TB WD Red | 2x 3TB WD Red | 128gb Samsung 830 EVO -
New
Jonatron wrote:
Do you use a script that you'd be willing to share?
OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380 -