10 lines
179 B
Text
10 lines
179 B
Text
|
#!/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
|
||
|
)
|