ceph/qa/workunits/mon/pool_ops.sh
Sage Weil efa03cef5e mon: require pgnum in 'ceph osd pool create <poolname> <pgnum> [<pgp_num>]' command
The default of 8 is virtually never the right answer.  Require the initial
pg count to be explicitly provided.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-12 12:01:07 -08:00

19 lines
244 B
Bash
Executable File

#!/bin/sh -x
set -e
ceph osd pool create foo 123 123
ceph osd pool create fooo 123
ceph osd pool create foo 123 # idempotent
ceph osd pool delete foo
ceph osd pool delete foo
ceph osd pool delete fuggg
ceph osd pool delete fooo
echo OK