ports/main/nnd-s6-services/rc/ceph.osd.0.bluestore-primer/up

11 lines
234 B
Plaintext

#!/bin/execlineb -P
define ID 0
s6-envdir -i /etc/s6/env/ceph.osd.${ID}
importas -i DEV DEV
s6-envdir -i /etc/s6/env/path
emptyenv -p
ceph-bluestore-tool prime-osd-dir --dev $DEV --path /var/lib/ceph/osd/ceph-${ID} --no-mon-config