From 15c711eed407f9406523a6cf5c96f50439e45518 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 31 Jul 2018 18:53:21 +0200 Subject: [PATCH] Add script to remove all osd classes --- ceph-osd-class-remove | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ceph-osd-class-remove diff --git a/ceph-osd-class-remove b/ceph-osd-class-remove new file mode 100644 index 0000000..fb2759d --- /dev/null +++ b/ceph-osd-class-remove @@ -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 "$@"