ceph/qa/workunits/misc/mkpool_layout_vxattrs.sh
Sage Weil e2602c549f mon: make 'mon {add,remove}_data_pool ...' take pool name or id
Take either a pool name or an id.  Fix up the tests accordingly.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-14 16:46:58 -07:00

16 lines
255 B
Bash
Executable File

#!/bin/bash
set -e
touch foo.$$
rados mkpool foo.$$
ceph mds add_data_pool foo.$$
setfattr -n ceph.file.layout.pool -v foo.$$ foo.$$
# cleanup
rm foo.$$
ceph mds remove_data_pool foo.$$
rados rmpool foo.$$ foo.$$ --yes-i-really-really-mean-it
echo OK