I have a reoccurring ZFS bug that keeps happening once in a while when I reboot my server. The ZFS drives disappear and have to be imported. Annoying, but not as annoying as the next bit which is a consequence of the bug. Once imported, all the Shared Folders say N/A. OK they can be recreated, however these Shared Folders are referenced through everything that is OMV. The references need to be removed before the Shared Folder can be removed and re-created. Editing does not work as it provides an error. At first it wasn't a big deal, I just did it but I think it must be around 10 times in the last couple years and I hope to crush this bug.
Shared Folders show N/A for "Device"
When edit is selected the following error shows. There must be an easier method to refresh these folders than going through the trouble mentioned above. Ideas would be GREATLY appreciated!
Failed to execute XPath query '//system/fstab/mntent[uuid='c7f898ea-ed1d-4fd4-9cd0-8c7b6d2ef5bc']'.
Error #0:
exception 'OMV\Config\DatabaseException' with message 'Failed to execute XPath query '//system/fstab/mntent[uuid='c7f898ea-ed1d-4fd4-9cd0-8c7b6d2ef5bc']'.' in /usr/share/php/openmediavault/config/database.inc:78
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(231): OMV\Config\Database->get('conf.system.fil...', 'c7f898ea-ed1d-4...')
#1 [internal function]: OMVRpcServiceShareMgmt->get(Array, Array)
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('get', Array, Array)
#4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'get', Array, Array, 1)
#5 {main}