For NFS v3 mounts, you have to mount using the Path not the Pseudo, so you
would:

sudo mount -o vers=3 dfgw02:/exports/foobar /mnt

I always recommend Path and Pseudo to be the same for this reason.

Frank

> -----Original Message-----
> From: Wyllys Ingersoll [mailto:wyllys.ingers...@keepertech.com]
> Sent: Wednesday, January 4, 2017 12:26 PM
> To: nfs-ganesha-devel@lists.sourceforge.net
> Subject: [Nfs-ganesha-devel] NFS v3 permission denied (2.4.1)
> 
> Running version 2.4.1, clients that need to use NFSv3 are being denied
access
> even though the "NFS_Protocols = 3,4;" is set in the NFS_CORE_PARAM
> block.  Any idea what is wrong?  There dont appear to be any errors in the
> config file that are logged.
> 
> 
> Config file looks like:
> EXPORT_DEFAULTS {
>     Sectype = none,sys;
>     Transports = TCP;
>     Protocols = v3,v4;
> }
> NFS_CORE_PARAM {
>     NFS_Protocols = 3,4;
>     Rpc_Max_Connections = 10000;
>     Nb_Worker = 256;
>     Rquota_Port = 4501;
> }
> EXPORT {
>     Pseudo = /foobar;
>     FSAL {
>         Name = VFS;
>     }
>     CLIENT {
>         Clients = *;
>         Squash = All;
>         Access_Type = RW;
>         Protocols = 3,4;
>     }
>     Tag = foobar;
>     Path = /exports/foobar;
>     Export_Id = 1006;
> }
> 
> Client does this:
> 
> $ sudo mount -o vers=3 dfgw02:/foobar /mnt
> mount.nfs: access denied by server while mounting dfgw02:/foobar
> 
> Error in server logs:
> 04/01/2017 15:15:41 : epoch 586d5756 : dfgw02 :
> ganesha.nfsd-3850069[work-18] mnt_Mnt :NFS3 :INFO :MOUNT: Export
> entry / does not support NFS v3 for client ::ffff:10.4.1.42
> 
>
----------------------------------------------------------------------------
--
> Check out the vibrant tech community on one of the world's most engaging
> tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Nfs-ganesha-devel mailing list
> Nfs-ganesha-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to