Delete Snapraid array

  • Hi gang, I created a new Snapraid array with new disks that I added to my OMV 6.0 installation to replace my older hard drives which they were setup with Mergerfs and Snapraid. I removed the Mergerfs setup and removed the Snapraid for my first array and OMV still uses my first Snapraid setup. Now I tried to delete my first array but I keep getting this error message,



    Is there a way I can delete my first array and have Snapraid point to the second array?


    Here is my Snapraid.conf file content.

    Any help would be great. Let me know if more information is required.


    Thanks in advance.

    • New
    • Official Post

    Is there a way I can delete my first array and have Snapraid point to the second array?

    I do recommend upgrading to OMV 7.x but what is the output of: dpkg -l | grep openme

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hi ryecoaaron, That's my next goal, to upgrade to OMV 7.x. But had to replace my data drives since they started to give me SMART errors. WD Red hard drives are over 8 years old.


    Replaced them with brand new WD Red Pro.


    Here's the output from command dpkg -l | grep openme


    • New
    • Official Post

    You have the test version of the snapraid plugin installed. So, it supports multiple arrays. It is does not use /etc/snapraid.conf anymore and is very experimental. I would remove the plugin and reinstall/configure once you are on omv 7. The OMV7 version also supports multiple arrays and doesn't use /etc/snapraid.conf. snapraid commands will need to reference the particular array's config file. For example:


    snapraid -c /etc/snapraid/ARRAY_NAME.conf sync

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • From the list of plugins that I sent you, should I remove any other plugin before proceeding with the upgrade to OMV 7?


    I should follow these steps to do the upgrade?


    1. Backup the OS drive (this is always a good idea, not only for upgrades)
    2. Make sure, you have enough free space on your OS drive
    3. If you installed software from foreign repos make sure they have a release for bullseye or remove the repos / software
    4. Go to the cli (Putty, ssh, keyboard) and run these commands (In case of errors stop and ask on the forum before making things worse)
      1. Make sure your current install is correct all configs can be deployed by running sudo omv-salt stage run deploy
      2. Get the current install up to date: sudo omv-upgrade
      3. Do the release upgrade by running sudo omv-release-upgrade
        If you see an error message from patch which says a patch has already been applied, ignore it. (this is the only error to be ignored)
    5. Wait for the last script to finish and reboot.
    6. Refresh/clear browser cache (Crtl-Shift R on most browsers)
    7. Check if all services and docker containers are running as you expect.
    8. If you see Linux image Updates you can not install on the UI, go to the cli and run omv-upgrade once more.


    Thanks again for your help ryecoaaron. It is truly appreciated.

    • New
    • Official Post

    should I remove any other plugin before proceeding with the upgrade to OMV 7?

    No and normally you wouldn't have to remove the snapraid plugin if you didn't have the test version.


    I should follow these steps to do the upgrade?

    Those should work. You don't need to do sub-steps 1 or 2 of step 4 because they are already done by omv-release-upgrade.

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hi ryecoaaron , I just upgraded my server to OMV 7 and everything went very smooth except a couple of situations. I uninstalled the old beta Snapraid version, like you told me and reinstalled and the old array disappeared.


    But now, I get these error messages.


    1. I get this message for repositories:

    http://packages.azlux.fr/debian/dists/buster/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.


    Do I need this repository?


    2. I keep getting this error, twice, when I boot up:

    platform regulatory.0: Direct firmware load for regulatory.db failed with error -2


    How can I fix this. I looked at the Debian wiki at https://wiki.debian.org/Firmware, and the explanation seem to think you know which firmware you are missing. Is there a way to find out which firmware I'm missing?


    Thanks in advance.

    • New
    • Official Post

    Do I need this repository?

    Nope. That is from Debian 10/OMV 5.


    Is there a way to find out which firmware I'm missing?

    Is it causing a problem? Do you have a wifi adapter in the system? What is the output of: dpkg -l | grep -E "wireless-regdb|crda"

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hi ryecoaaron

    Quote

    Nope. That is from Debian 10/OMV 5.

    It has been removed and ran commands omv-salt deploy run apt and omv-aptclean repos to reconfigure and update the repositories.


    Quote

    Is it causing a problem? Do you have a wifi adapter in the system? What is the output of: dpkg -l | grep -E "wireless-regdb|crda"

    I ran this command and no information is listed.

    • New
    • Official Post

    I ran this command and no information is listed.

    That means they aren't installed. They aren't needed unless you have wifi and actually need to use it.

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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!