You should be able to just mount the share as the root on any of your oVirt servers to a temp location, say /s-export and do a 'chown vdsm:kvm /s-export' then umount and try and use the export with oVirt. It should have the correct owner and group. I've never used Synology but most any NFS server should allow changing the user and group for the root of the share/export after it mounted. I have to do the same thing before creating an NFS Storage Domain so the user and group are correct.

Justin Willoughby
twitter-3-16.png  linkedin-6-16.png

Learn More



On Tue, Mar 17, 2020 at 4:23 PM Shareef Jalloq <shareef@jalloq.co.uk> wrote:
Hi all,

I'm trying to set up a hosted engine on an NFS share provided by a Synology NAS.  I've been reading the info and threads regarding the requirement that the share be owned by vdsm:kvm with uid:gid of 36:36, but this seems impossible to set on modern Synology boxes.

My understanding of DSM is that the user doesn't have control of the UID and GID of users.  You can ssh in and modify /etc/passwd but these files are auto-generated from Synology's own scripts so changes here will not persist across reboots.  Is that correct?

Secondly, having read lots of posts about permissions and various issues around export settings, why isn't this documented anywhere?  There just seems to be lots of contradictory posts.  For example, my experience has been:

 - my Synology vdsm:kvm ids are 1028:65536
 - the permissions on the NFS export are 777, anything else gives permissions errors in HE setup
 - the hosted engine install went fine with these settings.
 - the nfs-check.py script provided to check the NFS export fails but the installation still completes.

So are these issues specific to Synology or is the documentation out there just wrong?

#confused

Cheers, Shareef.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/346B7AVQY3N7L7J7QAZGQFQLGPI2BXVD/