Skip to content

Commit

Permalink
doc/README.md - improve "Running a test cluster"
Browse files Browse the repository at this point in the history
Improve the English in the section "Running a test cluster in the
ceph/README.md file.

Signed-off-by: Zac Dover <[email protected]>
  • Loading branch information
zdover23 committed Sep 1, 2023
1 parent 9d7c182 commit 420ecc7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 420ecc7

Please sign in to comment.