[Nfs-ganesha-devel] nss_getpwnam: name 't...@my.dom@localdomain' does not map into domain 'nix.my.dom'

2018-03-06 Thread TomK
Hey Guy's, Getting below message which in turn fails to list proper UID / GID on NFSv4 mounts from within an unprivileged account. All files show up with owner and group as nobody / nobody when viewed from the client. Wondering if anyone saw this and what the solution could be here? If not

Re: [Nfs-ganesha-devel] Multiprotocol support in ganesha

2018-03-06 Thread Matt Benjamin
Basically, this. For the sake of discussion, is Daniel's take on SMB integration directly in nfs-ganesha what you're thinking of, or were you ireferring to co-export of Linux filesystems with Samba or some other Linux-integrated SMB stack? Matt On Tue, Mar 6, 2018 at 12:29 PM, Daniel Gryniewicz

Re: [Nfs-ganesha-devel] Multiprotocol support in ganesha

2018-03-06 Thread Frank Filz
> So, in fact, both ganesha and samba can have the same file open at the same > time (just as any 2 processes can). This will, of course, cause issues if > both are > modifying the same sections of the file. This is why file locking was > invented. > NFSv3 (via NLM) and NFSv4 (built in) have

Re: [Nfs-ganesha-devel] Multiprotocol support in ganesha

2018-03-06 Thread Daniel Gryniewicz
So, in fact, both ganesha and samba can have the same file open at the same time (just as any 2 processes can). This will, of course, cause issues if both are modifying the same sections of the file. This is why file locking was invented. NFSv3 (via NLM) and NFSv4 (built in) have locking

Re: [Nfs-ganesha-devel] Multiprotocol support in ganesha

2018-03-06 Thread Frank Filz
> Basically, this. For the sake of discussion, is Daniel's take on SMB integration > directly in nfs-ganesha what you're thinking of, or were you ireferring to co- > export of Linux filesystems with Samba or some other Linux-integrated SMB > stack? IBM had some degree of success with exporting

Re: [Nfs-ganesha-devel] Multiprotocol support in ganesha

2018-03-06 Thread Kaleb S. KEITHLEY
On 03/06/2018 12:20 PM, Pradeep wrote: > Hello, > > Is there plans to implement multiprotocol (NFS and CIFS accessing same > export/share) in ganesha? CIFS* _in_ ganesha? No. There is on-going work being done to make leases, delegations, and ACLs work consistently and reliably between

Re: [Nfs-ganesha-devel] Multiprotocol support in ganesha

2018-03-06 Thread Pradeep
Hi Daniel, What I meant is a use case where some one needs to access the same export through NFS protocol using Ganesha server and SMB protocol using Samba server. Both Samba and Ganesha are running on the same server. Obviously, file can't be open by both ganesha and samba; so we need to close

Re: [Nfs-ganesha-devel] nss_getpwnam: name 't...@my.dom@localdomain' does not map into domain 'nix.my.dom'

2018-03-06 Thread TomK
On 3/6/2018 10:45 AM, Tom wrote:> t...@my.dom is an ad user. Nix.my.dom is a subdomain managed freeipa. Tried identical ifmapd.conf files on client and server but rpcidmapd tries to start the local copy of nfsd on the nfs Ganesha servers but that competes with nfs-Ganesha and won’t bind on

Re: [Nfs-ganesha-devel] nfsv3 client writing file gets Invalid argument on glusterfs with quota on

2018-03-06 Thread Kinglong Mee
On 2018/3/7 10:59, Kinglong Mee wrote: > When using nfsv3 on glusterfs-3.13.1-1.el7.x86_64 and > nfs-ganesha-2.6.0-0.2rc3.el7.centos.x86_64, > I gets strange "Invalid argument" when writing file. > > 1. With quota disabled; > nfs client mount nfs-ganesha share, and do 'll' in the testing

[Nfs-ganesha-devel] nfsv3 client writing file gets Invalid argument on glusterfs with quota on

2018-03-06 Thread Kinglong Mee
When using nfsv3 on glusterfs-3.13.1-1.el7.x86_64 and nfs-ganesha-2.6.0-0.2rc3.el7.centos.x86_64, I gets strange "Invalid argument" when writing file. 1. With quota disabled; nfs client mount nfs-ganesha share, and do 'll' in the testing directory. 2. Enable quota; # getfattr -d -m . -e hex

[Nfs-ganesha-devel] Multiprotocol support in ganesha

2018-03-06 Thread Pradeep
Hello, Is there plans to implement multiprotocol (NFS and CIFS accessing same export/share) in ganesha? I believe current FD cache will need changes to support that. Thanks, Pradeep -- Check out the vibrant tech

Re: [Nfs-ganesha-devel] Multiprotocol support in ganesha

2018-03-06 Thread Daniel Gryniewicz
Ganesha has multi-protocol (NFS3, NFS4, and 9P). There are no plans to add CIFS, since that is an insanely complicated protocol, and has a userspace daemon implementation already (in the form of Samba). I personally wouldn't reject such support if it was offered, but as far as I know, no one

Re: [Nfs-ganesha-devel] nss_getpwnam: name 't...@my.dom@localdomain' does not map into domain 'nix.my.dom'

2018-03-06 Thread Tom
t...@my.dom is an ad user. Nix.my.dom is a subdomain managed freeipa. Tried identical ifmapd.conf files on client and server but rpcidmapd tries to start the local copy of nfsd on the nfs Ganesha servers but that competes with nfs-Ganesha and won’t bind on port 2049. So I need to change the

[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: Add tracepoints for NFS4 session refcounts

2018-03-06 Thread GerritHub
>From Daniel Gryniewicz : Daniel Gryniewicz has uploaded this change for review. ( https://review.gerrithub.io/402880 Change subject: Add tracepoints for NFS4 session refcounts .. Add tracepoints for NFS4

[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: MDCACHE - Initialize dirent structs in entry early

2018-03-06 Thread GerritHub
>From Daniel Gryniewicz : Daniel Gryniewicz has uploaded this change for review. ( https://review.gerrithub.io/402881 Change subject: MDCACHE - Initialize dirent structs in entry early .. MDCACHE - Initialize

[Nfs-ganesha-devel] testing if I am re-subscribed

2018-03-06 Thread Frank Filz
If you see this, then I can send e-mails again. Frank -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

Re: [Nfs-ganesha-devel] Issue with large directories containing 100, 000 files

2018-03-06 Thread Daniel Gryniewicz
Hi. What version of Ganesha is this? Daniel On 03/05/2018 10:35 PM, Varghese Devassy via Nfs-ganesha-devel wrote: Hello, I am testing our own version of FSAL and I am observing an issue with directories containing 100,000 files. When I do ls on the directory, it only lists about 21 files.

Re: [Nfs-ganesha-devel] nss_getpwnam: name 't...@my.dom@localdomain' does not map into domain 'nix.my.dom'

2018-03-06 Thread Daniel Gryniewicz
Based on the error messages, you client is not sending t...@nix.my.dom but is sending t...@my.dom@localdomain. Something is mis-configured on the client. Have you tried having identical (including case) idmapd.conf files on both the client and server? Idmap configuration has historically be

[Nfs-ganesha-devel] Announce Push of V2.7-dev.2

2018-03-06 Thread Frank Filz
Branch next Tag:V2.7-dev.2 NOTE: This merge includes an ntirpc pullup, please update your submodule Release Highlights * Pullup NTIRPC through #106 * ASYNC/vector changes to the FSAL API * A variety of fixes related to state recovery * RADOS_KV: fix append of revoked