mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
vstart.sh: print out osd mkfs command
for better understanding the progress of vstart, and also allows developer to repeat the command. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
37dc3ea9c2
commit
2d63bc0fbd
@ -913,7 +913,7 @@ EOF
|
|||||||
echo "{\"cephx_secret\": \"$OSD_SECRET\"}" > $CEPH_DEV_DIR/osd$osd/new.json
|
echo "{\"cephx_secret\": \"$OSD_SECRET\"}" > $CEPH_DEV_DIR/osd$osd/new.json
|
||||||
ceph_adm osd new $uuid -i $CEPH_DEV_DIR/osd$osd/new.json
|
ceph_adm osd new $uuid -i $CEPH_DEV_DIR/osd$osd/new.json
|
||||||
rm $CEPH_DEV_DIR/osd$osd/new.json
|
rm $CEPH_DEV_DIR/osd$osd/new.json
|
||||||
$SUDO $CEPH_BIN/$ceph_osd $extra_osd_args -i $osd $ARGS --mkfs --key $OSD_SECRET --osd-uuid $uuid $extra_seastar_args
|
prun $SUDO $CEPH_BIN/$ceph_osd $extra_osd_args -i $osd $ARGS --mkfs --key $OSD_SECRET --osd-uuid $uuid $extra_seastar_args
|
||||||
|
|
||||||
local key_fn=$CEPH_DEV_DIR/osd$osd/keyring
|
local key_fn=$CEPH_DEV_DIR/osd$osd/keyring
|
||||||
cat > $key_fn<<EOF
|
cat > $key_fn<<EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user