When you added the permissions on the NFS export did you map the user and group ID to
those names?
IE the userid is 36?
________________________________
From: Andy Michielsen <andy.michielsen(a)gmail.com>
Sent: Tuesday, July 2, 2019 9:29 AM
To: Staniforth, Paul
Cc: users
Subject: [ovirt-users] Re: Using a synology as an nfs storage
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<http://ovirtstorcl001.get.be>
PING ovirtstorcl001.get.be<http://ovirtstorcl001.get.be> (192.168.203.199) 56(84)
bytes of data.
64 bytes from ovirtstorcl001.get.be<http://ovirtstorcl001.get.be> (192.168.203.199):
icmp_seq=1 ttl=64 time=0.191 ms
64 bytes from ovirtstorcl001.get.be<http://ovirtstorcl001.get.be> (192.168.203.199):
icmp_seq=2 ttl=64 time=0.142 ms
64 bytes from ovirtstorcl001.get.be<http://ovirtstorcl001.get.be> (192.168.203.199):
icmp_seq=3 ttl=64 time=0.168 ms
64 bytes from ovirtstorcl001.get.be<http://ovirtstorcl001.get.be> (192.168.203.199):
icmp_seq=4 ttl=64 time=0.176 ms
--- ovirtstorcl001.get.be<http://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<http://ovirtstorcl001.get.be>
Export list for ovirtstorcl001.get.be<http://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
Op vr 28 jun. 2019 om 19:29 schreef Andy Michielsen
<andy.michielsen@gmail.com<mailto:andy.michielsen@gmail.com>>:
Hello All,
Thank you for the replies.
I read the url and I think I did it all as discribed.
I did a ssh into the synology and changed the owner and group for the volume I created and
the folder I'm sharing with NFS. I did the the mounting test on the engine and also on
the node. And I unmounted it afterwards.
But I will try and log on with the vdsm user. Have to look for the password and then I
will try and mount again.
Kind regards.
Op vr 28 jun. 2019 om 16:35 schreef Staniforth, Paul
<P.Staniforth@leedsbeckett.ac.uk<mailto:P.Staniforth@leedsbeckett.ac.uk>>:
Are the user group and permissions set correctly vdsm:kvm?
The storage is mounted on the nodes not the engine.
have you unmounted the storage after your test?
Good Luck,
Paul S.
________________________________
From: Andy Michielsen
<andy.michielsen@gmail.com<mailto:andy.michielsen@gmail.com>>
Sent: 28 June 2019 14:12
To: users
Subject: [ovirt-users] Using a synology as an nfs storage
Hello,
I'm setting up a 3 node cluster with the ovirtnode iso and a seperate server with the
engine on and a synology for nfs storage.
I have done my configuration and I'm able to mount the share manually on the node with
a command. Also on the server with the engine on I can mount it manually. But when I want
to do it through the webinterface to add a data domain it say the permissions are wrong.
Any idea's on how to figure this out ?
Kind regards.
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/