Hello!
I have been googling and searching and trying different options for a while but could not solve this problem. I do not have a good understanding of linux and mostly work by following internet advice. I originally set up OMV about a year ago and have some basic understanding of using the GUI and the CLI via Putty from my windows laptop. I use this as a NAS to store media which is mostly family videos and pictures that can be accessed over the network. The filesharing, etc. all works great and continues to work.
I originally thought that I had Snapraid setup well, following a tutorial, and after I was re-evaluating things after updating OMV from 3 to 4, realized I probably never set it up properly because anytime I tried to sync it would tell me that the array appears to be empty and I would not be able to sync. I had set everything up in Snapraid only through the GUI so the parity drive was added through the GUI. I have 4 x 4 TB harddrives. I use three for content and data and 1 for parity, theoretically. I believe I made an error in also adding the pool drive (union filesystem pool of drive1 drive2 drive3) onto the snapraid drives as a data and content drive and realized on re-reading the tutorials nobody mentions adding the pool drive back onto snapraid after making it.
Since I was unable to sync, I decided (another error I think) to delete the pool drive from snapraid thinking that might help and now I am stuck because I get the error:
Loading state from /srv/dev-disk-by-label-drive1/snapraid.content...
Decoding error in '/srv/dev-disk-by-label-drive1/snapraid.content' at offset 108
The file CRC is correct!
Disk 'pool' with uuid '' not present in the configuration file!
If you have removed it from the configuration file, please restore it
This happens if I try snapraid sync, diff or fix with -f or -e which were suggestions I found online. I was able to open the config file with nano through putty but did not see anything that mentioned the pool disk. The current config file is:
# this file was automatically generated from
# openmediavault Arrakis 4.1.35-1
# and 'openmediavault-snapraid' 3.7.7
block_size 256
autosave 0
#####################################################################
# OMV-Name: Main1 Drive Label: drive1
content /srv/dev-disk-by-label-drive1/snapraid.content
disk Main1 /srv/dev-disk-by-label-drive1
#####################################################################
# OMV-Name: Parity1 Drive Label: disc4
parity /srv/dev-disk-by-label-disc4/snapraid.parity
#####################################################################
# OMV-Name: main2 Drive Label: drive2
content /srv/dev-disk-by-label-drive2/snapraid.content
disk main2 /srv/dev-disk-by-label-drive2
#####################################################################
# OMV-Name: Main3 Drive Label: drive3
content /srv/dev-disk-by-label-drive3/snapraid.content
disk Main3 /srv/dev-disk-by-label-drive3
exclude /snapraid.conf*
exclude *.unrecoverable
exclude lost+found/
exclude aquota.user
exclude aquota.group
exclude /tmp/
exclude .content
exclude *.bak
I did try re-adding the Pool drive but that did not help. I did read the Snapraid FAQ , search google and forums to look for a solution but I am not 100% sure what it means to edit the config file and since I do not see the pool mentioned in the config file I am not sure what or how to edit.
One forum site said to use snapraid -c snapraid.content to see the drives and figure out where the issue is.
sudo snapraid -C snapraid.content
Loading state from snapraid.content...
No content file found. Assuming empty.
# Configuration file generated from snapraid.content
# Use this blocksize
blocksize 256
# Use this hashsize
hashsize 16
# Set the correct path for the Parity files
# You had 0 of them:
parity ENTER_HERE_THE_PARITY_FILES_COMMA_SEPARATED
# Add any other content file
content snapraid.content
So this looks to me like the parity is not even set up but again I do not know how I can fix this.
Is there a way to just uninstall and re-install Snapraid to start over?
Thank you in advance, thank you for your advice, and sorry if I missed an easy solution to this in my searches.