July 2, 2019 4:29 PM, "Andy Michielsen" <andy.michielsen(a)gmail.com>
wrote:
Hello,
I'm still strugling with adding a nfs share from my synology share.
When I log on to my node and do a pint to the synology server
[root@ovirtnode005 ~]# ping -c 4 ovirtstorcl001.get.be
PING ovirtstorcl001.get.be (192.168.203.199) 56(84) bytes of data.
64 bytes from ovirtstorcl001.get.be (192.168.203.199): icmp_seq=1 ttl=64 time=0.191 ms
64 bytes from ovirtstorcl001.get.be (192.168.203.199): icmp_seq=2 ttl=64 time=0.142 ms
64 bytes from ovirtstorcl001.get.be (192.168.203.199): icmp_seq=3 ttl=64 time=0.168 ms
64 bytes from ovirtstorcl001.get.be (192.168.203.199): icmp_seq=4 ttl=64 time=0.176 ms
--- ovirtstorcl001.get.be ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.142/0.169/0.191/0.020 ms
If I list the shares available on my synology server
[root@ovirtnode005 ~]# showmount -e ovirtstorcl001.get.be
Export list for ovirtstorcl001.get.be:
/volume1/GETQUADATA001 *
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
[root@ovirtnode005 ~]# umount /mnt/nfs
[root@ovirtnode005 ~]# ls -l /mnt/nfs
total 0
[root@ovirtnode005 ~]#
But when I Want to create a new nfs datadomain it tell's me I have issues with
permissions
I'm not sure whether you can specify the following through the DSM interface:
anonuid=36,anongid=36
but I'm using a Synology too and have that in my /etc/exports file. You could add that
manually and then be careful when you use the DSM interface to configure NFS or try to
find out how to do this through the DSM interface.
If these options are set the mounting the NFS share on a host and doing a touch
/nfs_mounted/test.txt should give you the right permissions, namely 36:36
Regards,
Joop