mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
rearrange mkfs/start scripts a bit
This commit is contained in:
parent
f49f6b5b7c
commit
1865b7e72d
@ -21,7 +21,7 @@ $CEPH_BIN/monmaptool --create --clobber --add $IP:12345 --print .ceph_monmap
|
||||
$CEPH_BIN/mkmonfs --clobber mondata/mon0 --mon 0 --monmap .ceph_monmap
|
||||
|
||||
# shared args
|
||||
ARGS="-d --bind $IP -o out --debug_ms 1"
|
||||
ARGS="-d --debug_ms 1"
|
||||
|
||||
# start monitor
|
||||
$CEPH_BIN/cmon $ARGS mondata/mon0 --debug_mon 20 --debug_ms 1
|
||||
|
@ -21,7 +21,7 @@ $CEPH_BIN/monmaptool --create --clobber --add $IP:12345 --print .ceph_monmap
|
||||
$CEPH_BIN/mkmonfs --clobber mondata/mon0 --mon 0 --monmap .ceph_monmap
|
||||
|
||||
# shared args
|
||||
ARGS="-d --bind $IP -o out --debug_ms 1"
|
||||
ARGS="-d --debug_ms 1"
|
||||
|
||||
# start monitor
|
||||
$CEPH_BIN/cmon $ARGS mondata/mon0 --debug_mon 20 --debug_ms 1
|
||||
|
@ -23,7 +23,7 @@ then
|
||||
fi
|
||||
|
||||
# shared args
|
||||
ARGS="-d --bind $IP -o out --debug_ms 1"
|
||||
ARGS="-d --debug_ms 1"
|
||||
|
||||
# monitor
|
||||
$CEPH_BIN/cmon $ARGS mondata/mon0 --debug_mon 20 --debug_ms 1
|
||||
@ -31,11 +31,11 @@ $CEPH_BIN/cmon $ARGS mondata/mon0 --debug_mon 20 --debug_ms 1
|
||||
# osds
|
||||
for osd in 0 1 2 3
|
||||
do
|
||||
$CEPH_BIN/cosd $ARGS dev/osd$osd --debug_osd 40
|
||||
$CEPH_BIN/cosd $ARGS dev/osd$osd
|
||||
done
|
||||
|
||||
# mds
|
||||
$CEPH_BIN/cmds $ARGS --debug_mds 20
|
||||
$CEPH_BIN/cmds $ARGS
|
||||
|
||||
echo "started. stop.sh to stop. see out/* (e.g. 'tail -f out/????') for debug output."
|
||||
|
Loading…
Reference in New Issue
Block a user