ungleich-tools/ceph-osd-create-on-all-disks
Nico Schottelius fc1daf8621 + permissions
2018-02-18 21:18:14 +01:00

9 lines
179 B
Bash
Executable file

#!/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
)