Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel2
outlinefalse
typelist
printablefalse

This page describes the Ganesha management operations that are helpful for use with SwarmFS:.

Table of Contents

Show Exports

ganesha_mgr show_exports —  - lists current SwarmFS export definitions:

Code Block
languagebash
[root@swarmnfs ~]# ganesha_mgr show_exports
Show exports
Timestamp: Wed Mar 13 09:24:36 2019 651073619 nsecs
Exports:
Id, path, nfsv3, mnt, nlm4, rquota, nfsv40, nfsv41, nfsv42, 9p, last
0, /, 0, 0, 0, 0, 0, 1, 0, 0, Wed Mar 13 09:20:41 2019, 939685320 nsecs
2, /nfsvaultdemo, 0, 0, 0, 0, 0, 1, 0, 0, Wed Mar 13 09:20:41 2019, 997373120 nsecs

Show Clients

ganesha_mgr show_client —  - lists current SwarmFS clients:

Code Block
languagebash
[root@swarmnfs ~]# ganesha_mgr show_client
Show clients
Timestamp:  Wed Mar 13 09:25:20 2019 570496447  nsecs
Clients:
 IP addr,  nfsv3, mnt, nlm4, rquota,nfsv40, nfsv41, nfsv42, 9p, last
 ::ffff:127.0.0.1,  0,  0,  0,  0,  0,  1,  0,  0, Wed Mar 13 09:24:42 2019 327478281 nsecs

Get Statistics

ganesha_stats fast —  - reports global statistics for the current SwarmFS operation:

Code Block
languagebash
[root@swarmnfs ~]# ganesha_stats fast
Timestamp: Wed Mar 13 09:25:42 2019326319591 nsecs
Global ops:
NFSv3:

NFSv4:
ACCESS              : 	   15756
GETATTR             : 	   47299
GETFH               : 	      38
LOOKUP              : 	      37
PUTFH               : 	   47303
PUTROOTFH           : 	       2
READDIR             : 	       5
EXCHANGE_ID         : 	       1
CREATE_SESSION      : 	       1
SECINFO_NO_NAME     : 	       1
SEQUENCE            : 	  157421
RECLAIM_COMPLETE    : 	       1

Change Logging Level

ganesha_mgr set_log —  - allows dynamic changes to the logging level.

Enable

...

Debug

Code Block
languagebash
ganesha_mgr set_log COMPONENT_FSAL FULL_DEBUG

Turn

...

Off Debug

Code Block
languagebash
ganesha_mgr set_log COMPONENT_FSAL NIV_EVENT