diff --git a/ceph-osd-create-on-all-disks b/ceph-osd-create-on-all-disks new file mode 100644 index 0000000..ebc932d --- /dev/null +++ b/ceph-osd-create-on-all-disks @@ -0,0 +1,9 @@ +#!/bin/sh + +lsblk -b | awk '/^sd/ { print $1 " " $4/(1024^4) }' | +( + while read disk size; do + /opt/ungleich-tools/ceph-osd-create-start /dev/$disk hdd $size + + done +)