Hello,
after my initial trial when using standalone OMV 4.0 derailed and drowned in errors, I decided to go debian+omv approach as it seemed a little more robust.
Everything went fine with configuration until today. I've installed omv 4.0 using provided shell scripts, mounted and formated my RAID array, made some shares, and enabled samba server with access to one of the shared folders (/Downloads). I've set utorrent default save location to /sharedfolders/Downloads and began testing. Everything worked like magic. After reboot I was unable to browse my samba shares, turned out that there is something wrong with OMV not being able to handle my drive properly. I'm unable to make new shared folders as the device list is empty. In shared folders, I'm unable to delete Downloads, and it's "device" is corrupt (called something looking like uuid "c54e05ba-09fd-420e-9e4d-a64dc6d1796a"). On file systems page I can see my array as usual /dev/md127 but I'm unable to mount it, unmount it, or do anything at all.
When I open ACL for shared folder I get following error
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; getfacl --no-effective --access -- '/srv/dev-disk-by-label-main/Download' 2>&1' with exit code '1': getfacl: /srv/dev-disk-by-label-main/Download: No such file or directory
Error #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; getfacl --no-effective --access -- '/srv/dev-disk-by-label-main/Download' 2>&1' with exit code '1': getfacl: /srv/dev-disk-by-label-main/Download: No such file or directory in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(753): OMV\System\Process->execute(Array)
#1 [internal function]: OMVRpcServiceShareMgmt->getFileACL(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('getFileACL', Array, Array)
#4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'getFileACL', Array, Array, 1)
#5 {main}
Alles anzeigen
I thought this might have something to do with debian priviliges so I changed owner of /sharedfolders to OMV admin, and group omv-engine but with little effect.
Does anybody has any idea, on why has this happened? And how can I fix it? Build is under construction so formating drive, and disolving raid is also an option.