From 420ecc7addaad1969cb634289c2399ea38ea9a90 Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Fri, 1 Sep 2023 10:19:58 +1000 Subject: [PATCH] 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 --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 448648c26638a..86aa52d6e6705 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 -- 2.39.5