This is kind of complex but looks like a bug in 0.5.19 (does not occur in 0.5.0.24 - i.e. "vanilla" OMV 5).
I have an existing RAID 5 array which I'm introducing to a fresh install of OMV (OMV installed off ISO, and on first boot sees the 5 drives of the array).
The array carries an encrypted EXT4 filesystem, which I created on a previous install of OMV.
The array is identified correctly and displayed in the web GUI. Then, I open the filesystem using "cryptsetup", which introduces /dev/mapper/mynas .
So far so good.
Now, I go to the web GUI and select filesystems. I can see /dev/mapper/mynas correctly as EXT4, not mounted. Still good. Now I select and click "mount".
In 0.5.0.24 this does the right thing and mounts the filesystem (while creating the mount point under /media and adding it to /etc/fstab). This is the expected behavior.
When same is done in 0.5.19, this fails. I get a popup with the following:
Failed to get storage device file from 'dff3adbd-51e3-438f-b251-ff0d4db86c13'
Error #6000:
exception 'OMVException' with message 'Failed to get storage device file from 'dff3adbd-51e3-438f-b251-ff0d4db86c13'' in /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc:665
Stack trace:
#0 [internal function]: OMVRpcServiceFileSystemMgmt->mount(Array, Array)
#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(62): OMVRpcServiceAbstract->callMethod('mount', Array, Array)
#3 /usr/sbin/omv-engined(495): OMVRpc::exec('FileSystemMgmt', 'mount', Array, Array, 1)
#4 {main}
Alles anzeigen
I'm not sure I understand what went wrong here, but I could not reconcile it while running 0.5.19. I tried to mount manually and have the GUI "learn" the situation. No good - this made things worse, as the FS is now mounted, but the web GUI does not see any "volumes" so I can't configure any shares. Game over, insert coin.
reinstalled 0.5.0.24, and all worked well again.
Help?!