What version of Ganesha are you using?


In the recent V2.5 development, we have added patches to allow the FSAL 
supported attributes to be properly reported to the clients, and removed 
indication of support of attributes Ganesha itself is incapable of (such as the 
archive attribute you observed).



These patches would be easy to backport to V2.4, but harder to backport to V.3 
or earlier.



Frank



From: Satish Chandra Kilaru [mailto:[email protected]]
Sent: Tuesday, May 9, 2017 9:38 PM
To: [email protected]
Subject: [Nfs-ganesha-devel] What is the meaning of this attr_mask?



When my MAC client mounts a share from ganesha, I see the following packets.












Does that attribute mask mean that all attributes are supported? My FSAL does 
not support some of those attributes. For example 'archive' and 'hidden'. FSAL 
sets the supported_attributes accordingly.



But my MAC client is trying to set 'archive = 0' and 'hidden = 0' attributes 
while creating a file and it fails with  NFS4ERR_BADXDR.



ganesha.log

10/05/2017 00:37:07 : epoch 591296ad : pounder.devemc.commvault.com 
<http://pounder.devemc.commvault.com>  : ganesha.nfsd-62890[work-4] 
Fattr4_To_FSAL_attr :NFS4 :F_DBG :Attr not supported 14 name=FATTR4_ARCHIVE

10/05/2017 00:37:07 : epoch 591296ad : pounder.devemc.commvault.com 
<http://pounder.devemc.commvault.com>  : ganesha.nfsd-62890[work-4] 
nfs4_op_open :NFS4 :DEBUG :general failure

10/05/2017 00:37:07 : epoch 591296ad : pounder.devemc.commvault.com 
<http://pounder.devemc.commvault.com>  : ganesha.nfsd-62890[work-4] 
nfs4_op_open :STATE :DEBUG :failed with status NFS4ERR_BADXDR



I am wondering if Ganesha is announcing to MAC nfs client that it supports 
ARCHIVE attribute and that is why client is trying to set it.



Does the wireshark screenshot I attached confirm my suspicion?

Satish



--

Please Donate to www.wikipedia.org <http://www.wikipedia.org>



---
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to