using a raw hard disk from OMV2-VM under VirtualBox on Linux Mint 18 MATE
1.) I installed the raw disk (/dev/sdb) wrapper (~/VirtakBox/sdb.vmdk) for OMV2:
https://www.virtualbox.org/manual/ch09.html#rawdisk
2.) Assigning the wrapper to the OMV2-VM I got access-right-errors, though the access rights to the raw disk and the wrapper were completely correct:
Assign the user which the VirtualBox is running with into the "disk" group. chmod the owner of the wrapper-file to the user which the VirtuialBox is running with. Change the group-rights of both files to rw.
3.) Then I gave "others" (all, guests) the rw-rights to the raw disk and the wrapper, hence assigning the wrapper to the OMV2-VM the access-right-error did not occur.
4.) Then I withdraw the access-rights for others to the raw disk and the wrapper.
5.) The access from the OMV2-VM to the entire disk still works !!!
Peter