ungleich-tools/ceph/ceph-osd-class-set
2020-12-12 13:27:49 +01:00

9 lines
204 B
Bash
Executable file

#!/bin/sh
if [ $# -lt 2 ]; then
echo "$0: class-name osd-name [..osd name]" >&2
echo "Set device class for OSD (needs to be classless before)"
exit 1
fi
ceph osd crush set-device-class "$@"