Ganesha Operations for SwarmFS
This page describes the Ganesha management operations that are helpful for use with SwarmFS.
Show Exports
ganesha_mgr show_exports
- lists current SwarmFS export definitions:
[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:
[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:
[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
Turn Off Debug
© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.