Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / qa / workunits / fs / misc / mkpool_layout_vxattrs.sh
1 #!/bin/bash
2
3 set -e
4
5 touch foo.$$
6 rados mkpool foo.$$
7 ceph mds add_data_pool foo.$$
8 setfattr -n ceph.file.layout.pool -v foo.$$ foo.$$
9
10 # cleanup
11 rm foo.$$
12 ceph mds remove_data_pool foo.$$
13 rados rmpool foo.$$ foo.$$ --yes-i-really-really-mean-it
14
15 echo OK