From: Zac Dover Date: Fri, 1 Sep 2023 00:19:58 +0000 (+1000) Subject: doc/README.md - improve "Running a test cluster" X-Git-Tag: v19.0.0~572^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=420ecc7addaad1969cb634289c2399ea38ea9a90;p=ceph.git doc/README.md - improve "Running a test cluster" Improve the English in the section "Running a test cluster in the ceph/README.md file. Signed-off-by: Zac Dover --- diff --git a/README.md b/README.md index 448648c26638..86aa52d6e670 100644 --- a/README.md +++ b/README.md @@ -174,24 +174,25 @@ are committed to git.) ## Running a test cluster -To run a functional test cluster, +From the `ceph/` directory, run the following commands to launch a test Ceph +cluster: cd build ninja vstart # builds just enough to run vstart ../src/vstart.sh --debug --new -x --localhost --bluestore ./bin/ceph -s -Almost all of the usual commands are available in the bin/ directory. -For example, +Most Ceph commands are available in the `bin/` directory. For example: ./bin/rados -p rbd bench 30 write ./bin/rbd create foo --size 1000 -To shut down the test cluster, +To shut down the test cluster, run the following command from the `build/` +directory: ../src/stop.sh -To start or stop individual daemons, the sysvinit script can be used: +Use the sysvinit script to start or stop individual daemons: ./bin/init-ceph restart osd.0 ./bin/init-ceph stop