mirror of
https://github.com/ceph/ceph
synced 2024-12-23 03:44:23 +00:00
b897ef9445
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 lines
271 B
Bash
Executable File
16 lines
271 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
touch foo.$$
|
|
rados mkpool foo.$$
|
|
ceph fs add_data_pool cephfs foo.$$
|
|
setfattr -n ceph.file.layout.pool -v foo.$$ foo.$$
|
|
|
|
# cleanup
|
|
rm foo.$$
|
|
ceph fs rm_data_pool cephfs foo.$$
|
|
rados rmpool foo.$$ foo.$$ --yes-i-really-really-mean-it
|
|
|
|
echo OK
|