blob: 91d316648988a8b738cbc8201beb75564d11a6e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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
|