Posts by jollyrogr

    Why not change your command line commands to use -c and the path to the new config file?

    Yep, I'm doing that once I became aware of the situation. I'll probably just mv snapraid.conf snapraid.conf.deprecated  or something like that to prevent accidental usage. Just wanted to make you aware of the potential for folks to use the wrong snapraid conf after upgrading. (only nerds like me that use terminal a lot though)

    The plugin being upgraded to v7 upgrades the database and runs the saltstack code. So, the config file in /etc/snapraid/ should already exist.


    I would delete /etc/snapraid.conf because it won't be maintained anymore. But I don't know what you do outside the plugin to know if something else will break.

    Yep the .conf files exist in /etc/snapraid/

    Just letting you know that /etc/snapraid.conf was not removed and I don't know if the upgrade was supposed to do that. I think i'll remove it and start using "-c array1.conf" in my commands.

    I just added code that will create a symlink to each array's config file using the array's name. I tested using the symlink from the command line and it works as expected.


    https://github.com/OpenMediaVa…4d10bbc81dcae498324e139a4


    I just migrated my omv 6 systems to 7. I noticed that after migrating /etc/snapraid.conf still exists and snapraid commands work the same as before. I assume this is because I haven't made any configuration changes to the array? If I do, the plugin will update /etc/snapraid/array1.conf, correct? Maybe I should delete /etc/snapraid.conf...

    That does look neat. Offsite backup is ideal but I would neat a bit more upload speed. And I would need to build another 30tb NAS.

    While I was reminding you of that, that message was really for other people reading this. You are free to do whatever you want. I think it is strange that you are willing to risk backup on something that provides availability and redundancy but are worried about losing one file. But if it works for you, so be it.

    Not sure I get what you mean there. I like snapraid because it provides redundancy (snapraid is really not for availability IMO) and data protection without having to invest in more drives for a 1 to 1 backup. As my drives age and as larger drives become cheaper, I could start to look into adding a second array for backing up the first.


    My first server only had 8 bays and my current one has 24, so I do have room to expand a bit.

    Sounds like you are using snapraid as backup and snapraid isn't backup (just like raid).

    Yeah that's pretty much what I am doing and it has worked well for the last 6 years or however long I've been running this (since omv2). So there is a level of risk I have accepted and I'm not going to increase it by automating the sync.

    Have you tried my script? Has many logics to prevent unwanted syncs.

    Nice update to the original script, and correct me if I'm wrong, but it still just uses a threshold value to determine if a sync will be performed. If a single file is corrupted due to a bad sector on a disk and your threshold is >1, then it will sync and wipe out any possibility of recovering that file. I'm not interested in that. It isn't that difficult to manually sync my array when adding/removing files.

    Seems like the plugin (I assume that is what you mean by automation) could be enhanced if people provided suggestions.

    The plugin is fine. By automation I was referring to the diff script. I'm not sure there's any enhancement that would make me trust it. If there are changes to the array, I want to know what they are before syncing.


    I don't trust the automation either. I run a diff and sync manually after adding/removing files on the server. I manually run scrubs periodically, not as often as I probably should.

    IMO OMV is a Debian based NAS and does an excellent job reliably serving my network. All the necessary plugins are there. I don't use Docker for anything because there aren't any core functions that need it.