Hello,

I got it working after changing the permissions from the shared folder from
777 to 755 ? Wasn't expecting that.

So to get a DS1219+ providing a NFS share for my oVirt environment and this
is how I did it.

First create the volume and the NFS share in the synology. Create a user
vdsm and a group kvm. And then the magic happens on the commandprompt from
the synology.

SSH into the synology and change the uid and gid to 36 in the /etc/passwd
file for the user vdsm. Also change the gid in the /etc/group file to 36
for the group kvm. Then change the permissions for the created share, in my
case volume1, to 755 instead off the 777+ synology gives.

Restart the nfs server in the ssh session with synoservice --restart nfsd.

And thank you all very much for the assistance. It put me on the right
track.

Kind regards.

Op wo 3 jul. 2019 om 05:44 schreef Oliver Riesener <
[email protected]>:

> Hi,
>
> everything look good.
>
> I would prefer to hostnames (not asterisk) in /etc/exports
>
> [root@ovirtnode005 ~]# showmount -e ovirtstorcl001.get.be
> Export list for ovirtstorcl001.get.be:
> /volume1/GETQUADATA001 *
>
>
> my /etc/exports would look like this:
>
> /volume1/GETQUADATA001 ovirtnode001.get.be <http://ovirtnode005.get.be>
> (rw,async,no_root_squash,no_subtree_check) ovirtnode002.get.be
> (rw,async,no_root_squash,no_subtree_check) ovirtnode003.get.be
> (rw,async,no_root_squash,no_subtree_check) ovirtnode004.get.de
> <http://ovirtnode.004.get.de>(rw,async,no_root_squash,no_subtree_check)
> ovirtnode005.get.be(rw,async,no_root_squash,no_subtree_check)
>
> Don’t forget to reexport:
>
> # exportfs -ra
>
> Am 02.07.2019 um 16:43 schrieb Joseph Jackson <[email protected]>:
>
> If I mount the nfs share
>
> [root@ovirtnode005 ~]# mkdir /mnt/nfs
>
> [root@ovirtnode005 ~]# mount -t nfs 
> ovirtstorcl001.get.be:/volume1/GETQUADATA001
> /mnt/nfs
>
> [root@ovirtnode005 ~]# ls -l /mnt/nfs
> total 0
> drwxrwxrwx 1 vdsm kvm 22 Jun 27 15:26 #recycle
>
>
> The jumping point here is, could you create directories with (SPM Host) on
> that location with vdsm user?
>
> [root@ovirtnode005 ~]# sudo -u vdsm mkdir /mnt/nfs/xx
> [root@ovn-elem tmp]# ls -lad /mnt/nfs/xx
> drwxr-xr-x. 2 vdsm kvm 6  3. Jul 05:19 /mnt/nfs/xx
>
>
> [root@ovirtnode005 ~]# umount /mnt/nfs
> [root@ovirtnode005 ~]# ls -l /mnt/nfs
> total 0
> [root@ovirtnode005 ~]#
>
>
> Best Regards, Oliver
> _______________________________________________
> Users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/[email protected]/message/ZRDRX3CUQ4IP5QFCSZMCT5ASKXTTHQOF/
>
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/FS7ZULXV3GB4ATXOHPNXIUXN5UI5WA4I/

Reply via email to