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.

https://www.ovirt.org/develop/troubleshooting-nfs-storage-issues.html#permis... <https://www.ovirt.org/develop/troubleshooting-nfs-storage-issues.html#permissions>
Am 28.06.2019 um 15:12 schrieb Andy Michielsen <andy.michielsen@gmail.com>:
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. _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/ZKYVINSJRIQB6J...

Do you have that NFS storage accessible to vdsm user? the folder you are mounting better be owned by vdsm:kvm Best, Fil -- Dmitry Filonov Linux Administrator SBGrid Core | Harvard Medical School 250 Longwood Ave, SGM-114 Boston, MA 02115 On Fri, Jun 28, 2019 at 9:16 AM Andy Michielsen <andy.michielsen@gmail.com> wrote:
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. _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/ZKYVINSJRIQB6J...

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> 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/

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>:
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> *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/

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 Op vr 28 jun. 2019 om 19:29 schreef Andy Michielsen < 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>:
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> *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/

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@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/

Hi, everything look good. I would prefer to hostnames (not asterisk) in /etc/exports
[root@ovirtnode005 ~]# showmount -e ovirtstorcl001.get.be <http://ovirtstorcl001.get.be/> Export list for ovirtstorcl001.get.be <http://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 <http://ovirtnode002.get.be/>(rw,async,no_root_squash,no_subtree_check) ovirtnode003.get.be <http://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 <jjackson@aninetworks.net>:
If I mount the nfs share
[root@ovirtnode005 ~]# mkdir /mnt/nfs
[root@ovirtnode005 ~]# mount -t nfs ovirtstorcl001.get.be <http://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

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 < Oliver.Riesener@hs-bremen.de>:
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 <jjackson@aninetworks.net>:
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 -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/ZRDRX3CUQ4IP5Q...

I ssh'd to my Synology NAS and created the user and group vdsm/kvm with id 36 and chown'd the share. The permissions on shared folders for oVirt are 0750, no where near as open as 0777... Not had any problems with it over the years, just need to change the ownership of the new shares before using them. On Wed, 3 Jul 2019 at 08:20, Andy Michielsen <andy.michielsen@gmail.com> wrote:
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 < Oliver.Riesener@hs-bremen.de>:
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 <jjackson@aninetworks.net>:
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 -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/ZRDRX3CUQ4IP5Q...
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/FS7ZULXV3GB4AT...

Wow. Good to know. It is actually a really bad and misleading error message. Why don't you open a ticket for it? It should be really easy to fix but might save some people a lot of time trying to figure it out. Fil On Wed, Jul 3, 2019, 3:19 AM Andy Michielsen <andy.michielsen@gmail.com> wrote:
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 < Oliver.Riesener@hs-bremen.de>:
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 <jjackson@aninetworks.net>:
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 -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/ZRDRX3CUQ4IP5Q...
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/FS7ZULXV3GB4AT...

July 2, 2019 4:29 PM, "Andy Michielsen" <andy.michielsen@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
participants (7)
-
Andy Michielsen
-
Dmitry Filonov
-
Joseph Jackson
-
jvdwege@xs4all.nl
-
Maton, Brett
-
Oliver Riesener
-
Staniforth, Paul