diff options
| author | Meghana Madhusudhan <mmadhusu@redhat.com> | 2015-04-10 19:14:42 +0530 | 
|---|---|---|
| committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2015-04-13 10:36:58 +0000 | 
| commit | dbd9bd7b2d806163f9bb069ec04e24d9269f769c (patch) | |
| tree | fd44429596cebd50d6b29828ecb95556ebc1341c /extras/ganesha/scripts/create-export-ganesha.sh | |
| parent | b5d7faa96b5ca44be6899c6976691e0fde7d70d1 (diff) | |
NFS-Ganesha : Fixing HA script invocation and others
gluster features.ganesha disable failed invariably.
And also, there were problems in unexporting
volumes dynamically.Fixed the above problems.
Change-Id: I29aa289dc8dc7b39fe0fd9d3098a02097ca8ca0c
BUG: 1207629
Signed-off-by: Meghana Madhusudhan <mmadhusu@redhat.com>
Reviewed-on: http://review.gluster.org/10199
Reviewed-by: jiffin tony Thottan <jthottan@redhat.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Tested-by: NetBSD Build System
Diffstat (limited to 'extras/ganesha/scripts/create-export-ganesha.sh')
| -rwxr-xr-x | extras/ganesha/scripts/create-export-ganesha.sh | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/extras/ganesha/scripts/create-export-ganesha.sh b/extras/ganesha/scripts/create-export-ganesha.sh index 8140a11f548..de869c4629d 100755 --- a/extras/ganesha/scripts/create-export-ganesha.sh +++ b/extras/ganesha/scripts/create-export-ganesha.sh @@ -36,7 +36,8 @@ echo -e "# WARNING : Using Gluster CLI will overwrite manual  # and run ganesha-ha.sh --refresh-config."  echo "EXPORT{" -echo "      Export_Id = 1;" +echo "      Export_Id = 2;" +echo "      Path = \"/$VOL\";"  echo "      FSAL {"  echo "           name = "GLUSTER";"  echo "           hostname=\"localhost\";" @@ -45,8 +46,8 @@ echo "           }"  echo "      Access_type = RW;"  echo '      Squash="No_root_squash";'  echo "      Pseudo=\"/$VOL\";" -echo '      Protocols = "3,4" ;' -echo '      Transports = "UDP,TCP";' +echo '      Protocols = "3", "4" ;' +echo '      Transports = "UDP","TCP";'  echo '      SecType = "sys";'  echo "     }"  }  | 
