]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
vstart: Add note about mounting cephfs exports
authorVarsha Rao <varao@redhat.com>
Fri, 6 Mar 2020 19:56:57 +0000 (01:26 +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 a469a79621daddafba5212665ccd17243204d7ac..83b67fdb4fc37450ec83faf7e5f46c160c95f32e 100755 (executable)
@@ -1086,8 +1086,6 @@ start_ganesha() {
         ganesha=$(($ganesha + 1))
         ganesha_dir="$CEPH_DEV_DIR/ganesha.$name"
 
-        echo "Starting ganesha.$name on port: $port"
-
         prun rm -rf $ganesha_dir
         prun mkdir -p $ganesha_dir
         prun ceph_adm fs nfs cluster create tester
@@ -1118,11 +1116,15 @@ EOF
         if $with_mgr_dashboard; then
             $CEPH_BIN/rados -p nfs-ganesha put "conf-$name" "$ganesha_dir/ganesha.conf"
         fi
+
+        echo "ganesha.$name started on port: $port"
     done
 
     if $with_mgr_dashboard; then
         ceph_adm dashboard set-ganesha-clusters-rados-pool-namespace nfs-ganesha
     fi
+
+    echo "Mount using: mount -t nfs -o port=<ganesha-port-num> <address>:<ganesha pseudo path>"
 }
 
 if [ "$debug" -eq 0 ]; then