Re: [Nfs-ganesha-devel] NFSv4 referrals not working with ganesha.

2017-10-30 Thread Pradeep
Adding linux-nfs. Is this supposed to work with Linux NFS clients (see the problem description at the end of this email)? The NFSv4 referrals with Linux clients does not work with 'stat', 'ls' etc., But will follow referrals only after a 'cd'. On Mon, Oct 30, 2017 at 3:24 PM, Frank Filz wrote:

Re: [Nfs-ganesha-devel] NFSv4 referrals not working with ganesha.

2017-10-30 Thread Frank Filz
Oh, I had forgotten about that patch… Can you try any other clients? This may be a client issue (I did see some suspicious code in the client). It may also be that you need a fully qualified path (starting with a /). It looks like Ganesha is doing the right thing though. Frank From:

Re: [Nfs-ganesha-devel] NFSv4 referrals not working with ganesha.

2017-10-30 Thread Pradeep
Hi Frank, This is with latest version of Ganesha. The referral support is already in VFS: https://review.gerrithub.io/c/353684 tcpdump is attached. From the tcpdump, we can see that the stat sent a LOOKUP for the remote export and received a moved error. It also sent back the fs_locations. But th

Re: [Nfs-ganesha-devel] NFSv4 referrals not working with ganesha.

2017-10-30 Thread Frank Filz
What version of Ganesha? I assume by “native” FSAL, you mean FSAL_VFS? Did you add the fs locations XATTR support? FSAL_GPFS currently has the only in-tree referral support and I’m not sure it necessarily works, but I’m unable to test it. If you have code for FSAL_VFS to add the fs locations

[Nfs-ganesha-devel] NFSv4 referrals not working with ganesha.

2017-10-30 Thread Pradeep
Hi all, We are testing NFSv4 referral for Linux CentOS 7 with nfs-ganesha and are running into some serious issues. Although, we were able to set up NFSv4 referral using the native Ganesha FSAL, we could not get it fully functional for all Linux client system calls. Basically, the NFSv4 spec sugg

Re: [Nfs-ganesha-devel] UID and GID mapping

2017-10-30 Thread William Allen Simpson
On 10/30/17 3:56 AM, Nitesh Sharma wrote: Do you have any idea about nfs-ganesha UID and GID mapping The developer's list might What version are you using? How can I map this entry in nfs-ganesha export which is above CephFS /mnt/tvault_automation  *(rw,all_squash,anonuid=65534,anongid

Re: [Nfs-ganesha-devel] Ganesha 2.3 and 2.5 - crash in free_nfs_request

2017-10-30 Thread William Allen Simpson
On 10/27/17 7:56 AM, Sachin Punadikar wrote: Ganesha 2.3 got segfault with below : [...] After analyzing the core and related code found that - In "thr_decode_rpc_request" function, if call to SVC_RECV fails, then free_nfs_request is invoked to free the resources. But so far one of the field "req