mirror of
https://github.com/ceph/ceph
synced 2024-12-30 07:23:11 +00:00
c5b557ee88
Signed-off-by: Sage Weil <sage@inktank.com>
16 lines
255 B
Bash
Executable File
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
|