mirror of
https://github.com/gluster/glusterdocs.git
synced 2026-02-07 03:46:55 +01:00
Merge pull request #268 from thotz/patch-2
Update NFS-Ganesha GlusterFS Integration.md
This commit is contained in:
@@ -99,15 +99,15 @@ Turn on features.cache-invalidation for that volume
|
||||
#### step 4 :
|
||||
dbus commands are used to export/unexport volume
|
||||
- export
|
||||
#dbus-send --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.AddExport string:<ganesha directory>/exports/export.<volume name>.conf string:"EXPORT(Path=/<volume name>)"
|
||||
- *#dbus-send --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.AddExport string:<ganesha directory>/exports/export.<volume name>.conf string:"EXPORT(Path=/<volume name>)"*
|
||||
|
||||
- unexport
|
||||
#dbus-send --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.RemoveExport string:uint16:<export id>
|
||||
- *#dbus-send --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.RemoveExport string:uint16:<export id>*
|
||||
|
||||
```sh
|
||||
Note :
|
||||
Step 4 can be performed via following script
|
||||
#/usr/libexec/ganesha/create-export-ganesha.sh <ganesha directory> [on|off] <volume name>
|
||||
#/usr/libexec/ganesha/dbus-send.sh <ganesha directory> [on|off] <volume name>
|
||||
```
|
||||
|
||||
#### step 5 :
|
||||
|
||||
Reference in New Issue
Block a user