Hello,
 
>> Putting it the other way round: When is a client listed in the output of display_export and when is it removed from the list?
- It will appear if the export definition has explicit client-specific settings for the nfs client you were searching. If the client doesn't appear despite having client-specific settings in the export definition, then there could be an issue. In that case please log a defect and share ganesha_mgr display_export' command output and /var/mmfs/ces/nfs-config/gpfs.ganesha.exports.conf file. Also capture FULL_DEBUG logs for ganesha for the time when issue was seen. Steps to collect ganesha FULL_DEBUG logs on a protocol node:
1. # ganesha_mgr set_log COMPONENT_ALL FULL_DEBUG   <-- enable FULL_DEBUG logging for all ganesha components
2. <reproduce the issue>
3. # ganesha_mgr set_log COMPONENT_ALL EVENT <-- set log level to default (EVENT) log level for all ganesha components
 
It looks you were trying to find the client using ganesha on a node, for that purpose check command:
# ganesha_stats list_clients

Thanks,
Madhu Thorat.
 
 
----- Original message -----
From: "Billich Heinrich Rainer (ID SD)" <heinrich.billich@id.ethz.ch>
To: "support@lists.nfs-ganesha.org" <support@lists.nfs-ganesha.org>, "gpfsug main discussion list" <gpfsug-discuss@spectrumscale.org>
Cc:
Subject: [EXTERNAL] [NFS-Ganesha-Support] 'ganesha_mgr display_export - client not listed
Date: Fri, Oct 30, 2020 6:07 PM
 
Hello,

Some nfsv4 client of ganesha does not show up in the output of 'ganesha_mgr display_export'. The client has an active mount, but also shows some nfs issues, some commands did hang, the process just stays in state D (uninterruptible sleep) according to 'ps', but not the whole mount.  

I just wonder if the client's IP should always show up in the output of display_export once the client did issue a mount call and if the absence indicates that something is broken.
Gutr,gut,
Putting it the other way round: When is a client listed in the output of display_export and when is it removed from the list?

We do collect more debug data, this is just something that catched my eye.
Thank you,

Heiner

We run ganesha 2.7.5-ibm058.05 on a spectrum scale system on RedHat 7.7.

I crosspost to the gpfsug mailing list.

--
=======================
Heinrich Billich
ETH Zürich
Informatikdienste
Tel.: +41 44 632 72 56
heinrich.billich@id.ethz.ch
========================
 
 


# ganesha_mgr  display_export 37
Display export with id 37
export 37: path = /xxxx/yyy, pseudo = /xxx/yyy , tag = /xxx/yyy
 Client type,  CIDR version, CIDR address, CIDR mask, CIDR proto, Anonymous UID, Anonymous GID, Attribute timeout, Options, Set
  a.b.c.198/32,  0,  0,  255,  1,  4294967294,  4294967294,  0,  1126195680, 1081209831
 a.b.c.143/32,  0,  0,  255,  1,  4294967294,  4294967294,  0,  1126195680, 1081209831
 a.b.c.236/32,  0,  0,  255,  1,  4294967294,  4294967294,  0,  1126195680, 1081209831
 a.b.c.34/32,  0,  0,  255,  1,  4294967294,  4294967294,  0,  1126195680, 1081209831
 a.b.c.70/32,  0,  0,  255,  1,  4294967294,  4294967294,  0,  1126195680, 1081209831
 a.b.c.71/32,  0,  0,  255,  1,  4294967294,  4294967294,  0,  1126195680, 1081209831
 *,  0,  0,  0,  0,  4294967294,  4294967294,  0,  1126187490, 1081209831

_______________________________________________
Support mailing list -- support@lists.nfs-ganesha.org
To unsubscribe send an email to support-leave@lists.nfs-ganesha.org