Add script to remove all osd classes
This commit is contained in:
parent
eb50247e5e
commit
15c711eed4
1 changed files with 9 additions and 0 deletions
9
ceph-osd-class-remove
Normal file
9
ceph-osd-class-remove
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "$0: osd-name osd-name ..." >&2
|
||||
echo "Removes associated device classes"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ceph osd crush rm-device-class "$@"
|
Loading…
Reference in a new issue