From 0f3ab3759674d3a9cd83046706a87897faaa8b3e Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Fri, 3 Oct 2008 12:41:16 -0700 Subject: [PATCH] startnew.sh uses crun in order to execute modules --- src/startnew.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/startnew.sh b/src/startnew.sh index dd5af5d44f515..c1dbcb2a8217a 100755 --- a/src/startnew.sh +++ b/src/startnew.sh @@ -31,10 +31,13 @@ $CEPH_BIN/monmaptool --create --clobber --add $IP:$CEPH_PORT --print .ceph_monma $CEPH_BIN/mkmonfs --clobber mondata/mon0 --mon 0 --monmap .ceph_monmap # shared args -ARGS="-d" +ARGS="-f" +CMON_ARGS="" +CMDS_ARGS="" +COSD_ARGS="" # start monitor -$CEPH_BIN/cmon $ARGS mondata/mon0 --debug_mon 10 --debug_ms 1 +$CEPH_BIN/crun $CEPH_BIN/cmon $ARGS $CMON_ARGS mondata/mon0 --debug_mon 10 --debug_ms 1 & # build and inject an initial osd map @@ -44,11 +47,11 @@ $CEPH_BIN/cmonctl osd setmap -i .ceph_osdmap for osd in 0 #1 2 3 do $SUDO $CEPH_BIN/cosd --mkfs_for_osd $osd dev/osd$osd # initialize empty object store - $SUDO $CEPH_BIN/cosd $ARGS dev/osd$osd + $CEPH_BIN/crun $SUDO $CEPH_BIN/cosd $ARGS $COSD_ARGS dev/osd$osd & done # mds -$CEPH_BIN/cmds $ARGS # --debug_ms 1 #--debug_mds 20 --debug_ms 20 +$CEPH_BIN/crun $CEPH_BIN/cmds $ARGS $CMDS_ARGS & # --debug_ms 1 #--debug_mds 20 --debug_ms 20 echo "started. stop.sh to stop. see out/* (e.g. 'tail -f out/????') for debug output." -- 2.39.5