Add script to remove all osd classes

This commit is contained in:
Nico Schottelius 2018-07-31 18:53:21 +02:00
parent eb50247e5e
commit 15c711eed4

9
ceph-osd-class-remove Normal file
View 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 "$@"