]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: Update the nfs cluster create and export interface
authorVarsha Rao <varao@redhat.com>
Wed, 1 Apr 2020 15:34:58 +0000 (21:04 +0530)
committerVarsha Rao <varao@redhat.com>
Wed, 8 Apr 2020 11:51:17 +0000 (17:21 +0530)
Signed-off-by: Varsha Rao <varao@redhat.com>
src/vstart.sh

index b51b40fa094cbe1f971d6cf879a952bef6bc19d9..ffef573b51ee33df143aa684f9a7814c052a0fe4 100755 (executable)
@@ -1115,7 +1115,7 @@ start_ganesha() {
            Minor_Versions = 1, 2;
         }
 
-        %url rados://$pool_name/$namespace/nfs-conf
+        %url rados://$pool_name/$namespace/conf-nfs
 
         RADOS_KV {
            pool = $pool_name;
@@ -1136,7 +1136,7 @@ start_ganesha() {
         pid file = $ganesha_dir/ganesha.pid
 EOF
 
-        prun ceph_adm fs nfs export create "a"
+        prun ceph_adm fs nfs export create "a" "/cephfs" --attach=$name
         prun ganesha-rados-grace -p $pool_name -n $namespace add $name
         prun ganesha-rados-grace -p $pool_name -n $namespace