What version of NFS do you have on the Netgear?
It could be a SELinux configuration.

On Sun, Nov 5, 2017 at 3:19 PM, Walt Holman <wholman@lawrenceburgtn.gov> wrote:
Currently running version 4.1.6.2-1.el7.centos

The logfile is attached and the relevant entries are at the bottom of the log. It evidently doesn't get rotated, so it contains entries going back to when I first setup the box in 2/17.

I've perused that page countless times now, but I still can't get it to work on this setup. In the sanlock log file, the attempts to add the domain end in "s2 add_lockspace fail result -19" I don't know much about sanlock, but I wish I knew what result -19 meant, perhaps it would clue me in. Thanks for your help.

-Walt

----- Original Message -----
From: "Fred Rolland" <frolland@redhat.com>
To: "Walt Holman" <wholman@lawrenceburgtn.gov>
Cc: "users" <users@ovirt.org>
Sent: Sunday, November 5, 2017 5:22:05 AM
Subject: Re: [ovirt-users] Unable to use Netgear RN3220 for NFS storage domain

Hi,

Which version are you using ?
Can you provide /var/log/sanlock.log ?

Also check this page:
[ https://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues | https://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues ]

Thanks,
Freddy


On Fri, Nov 3, 2017 at 7:00 PM, Walt Holman < [ mailto:wholman@lawrenceburgtn.gov | wholman@lawrenceburgtn.gov ] > wrote:


Hello all,

I've got an oVirt setup that I'm trying to add an NFS storage domain from a Netgear ReadyNAS 3220 NAS server. I've setup the NFS exports as follows:

"/data/Virtual_Machines" 127.0.0.1(insecure,insecure_locks,no_subtree_check,crossmnt,anonuid=36,anongid=36,all_squash,ro,sync) 10.50.31.83(insecure,insecure_locks,no_subtree_check,rw,root_squash,anonuid=36,anongid=36,crossmnt,sync)

Where 10.50.31.83 is my oVirt box. I've made sure that /data/Virtual_Machines is chowned to 36:36 and each time I add it, it fails after performing the following steps: The oVirt box mounts the file share, creates all the files and directories, they are owned by 36:36 correctly, the new storage domain box closes and I am returned to the oVirt Management console where within a couple of seconds, I'm presented with a dialog box that says:

Operation Canceled
Error while executing action Attach Storage Domain: AcquireHostIDFailure

I've looked through logs and found the there is a SanlockException(19, "Sanlock lockspace add failure', 'No such device')) that seems to be the culprit.

Just to test, I've used the same exports file on my local machine (which has limited storage), and shared out a directory via NFS. I can successfully connect and use that storage within oVirt, but of course it does me no good. The RN3220 has approximately 10TB free on it at the moment, so it's not a space issue and as mentioned the directories and files all get created and are owned by vdsm:kvm It really feels like something's up with the ReadyNAS, but I'm not sure what? I've attached the vdsm.log file and have access to any other logs you may need.

Any help would be greatly appreciated as I'm about to bring up another node and really need access to network storage. I'm currently using only local storage attached to the host.

-Walt
_______________________________________________
Users mailing list
[ mailto:Users@ovirt.org | Users@ovirt.org ]
[ http://lists.ovirt.org/mailman/listinfo/users | http://lists.ovirt.org/mailman/listinfo/users ]