]> git.apps.os.sepia.ceph.com Git - ceph.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 Jul 2020 05:36:34 +0000 (07:36 +0200)
Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit 1be7e547e40a0808de481c2c889e3b759f58d4e5)

src/vstart.sh

index bcee95d751f3947437daed00517f330a4bb7aca4..b60c63c422662d9b81e5fff4cd4fa0358116fcd4 100755 (executable)
@@ -1077,8 +1077,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
@@ -1109,11 +1107,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