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,
QuoteDisplay MoreFailed to execute XPath query '//services/snapraid/drives/drive[uuid='114a88d2-53ed-11ed-8eee-b3f2573b9c38']'.
OMV\Config\DatabaseException: Failed to execute XPath query '//services/snapraid/drives/drive[uuid='114a88d2-53ed-11ed-8eee-b3f2573b9c38']'. in /usr/share/php/openmediavault/config/database.inc:88
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/snapraid.inc(172): OMV\Config\Database->get('conf.service.sn...', '114a88d2-53ed-1...')
#1 [internal function]: OMVRpcServiceSnapRaid->deleteArray(Array, Array)
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('deleteArray', Array, Array)
#4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('SnapRaid', 'deleteArray', Array, Array, 1)
#5 {main}
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.
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
autosave 0
#####################################################################
# OMV-Name: DISK01 Drive Label: DISK01
content /srv/dev-disk-by-uuid-c0732fc4-6d0f-4898-a7d6-1cfc96625f59/snapraid.content
disk DISK01 /srv/dev-disk-by-uuid-c0732fc4-6d0f-4898-a7d6-1cfc96625f59
#####################################################################
# OMV-Name: DISK02 Drive Label: DISK02
content /srv/dev-disk-by-uuid-10994e9d-cb49-41c8-8f7d-da2815f0b096/snapraid.content
disk DISK02 /srv/dev-disk-by-uuid-10994e9d-cb49-41c8-8f7d-da2815f0b096
#####################################################################
# OMV-Name: PARITY1 Drive Label: PARITY1
parity /srv/dev-disk-by-uuid-27a7ad0c-8f34-4df0-8acf-6da1544221ef/snapraid.parity
exclude *.unrecoverable
exclude lost+found/
exclude aquota.user
exclude aquota.group
exclude /tmp/
exclude .content
exclude *.bak
exclude /snapraid.conf*
Display More
Any help would be great. Let me know if more information is required.
Thanks in advance.