When I try to edit an existing shared folder, I get the following error message:
CodeAlles anzeigen"Failed to execute XPath query '//system/fstab/mntent[uuid='3f8ede54-1dc4-47be-ab28-eedd97a3ab6d']'." Error #0: OMV\Config\DatabaseException: Failed to execute XPath query '//system/fstab/mntent[uuid='3f8ede54-1dc4-47be-ab28-eedd97a3ab6d']'. 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...', '3f8ede54-1dc4-4...') #1 [internal function]: OMVRpcServiceShareMgmt->get(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('get', Array, Array) #4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'get', Array, Array, 1) #5 {main}
After upgrading my kernel to version 4.16 and zfs to version 0.7.9-3 tonight, today I also saw the issue @Teeminus described here. Didn't look in the section "Acces Rights Management - Shared Folders" in the omv webui tonight. So I didn't recognize the issue. I had some problems while updating my system to latest backport kernel and latest zfs tonight. I described the solution here:
Is ZFS supported in Kernel 4.13-4.15?
Today it was not possible to export my pool anymore, I always got the following message:
It was also not possible for me to identify which service keeps the pool busy. So, after some friggeling I did the following procedure:
- shutdown the server
- removed the sas/sata cables of my zfs disks
- started the server again
- rmmod zfs to unload the zfs modules
- rm -R /mediatank/ to remove the mountpoints of my pool
- modprobe -a zfs to load the zfs modules
- shutdown the server
- attached the sas/sata cables of my zfs disks
- started the server again
- my pool got imported automatically
- accessed the sections "Storage - File Systems" and "Storage - ZFS" in the omv webui, looks as expected and seems to work
- accessed the section "Acces Rights Management - Shared Folders" in the omv webui, got the yellow line message in the omv webui, that notices about changes and I accepted them
After this procedure I saw my zfs file systems under "Device" back again. I also see my zfs file systems in the dropdown list, if I edit one of my shared folders. If I remember right, before executing the above described procedure, I only saw "NA" or something like this in the "Device" section of the following table:
Did some reboots, a "shutdown -h now", a restart and again some reboots. I think it works now. No issues at the moment. We will see... Maybe this procedure helps somebody else.
EDIT: I think the key is last point of the procedure, the yellow line message, where omv recognized that something has changed and I accepted these changes. By the way... I am not really sure, if the message appeared at this point, or directly when I accessed the omv webui, or at some point between logging into omv webui and accessing the section "Acces Rights Management - Shared Folders".
Regards Hoppel