mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
vstart.sh: make crush location match up with what init-ceph does
This makes is to that ./init-ceph restart osd.0 won't modify the CRUSH tree. And in any case, the localhost/localrack thing we were doing before was pretty useless. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
2a6d962f47
commit
1cdb7381c7
@ -460,7 +460,7 @@ EOF
|
||||
uuid=`uuidgen`
|
||||
echo "add osd$osd $uuid"
|
||||
$SUDO $CEPH_ADM osd create $uuid
|
||||
$SUDO $CEPH_ADM osd crush add osd.$osd 1.0 host=localhost rack=localrack root=default
|
||||
$SUDO $CEPH_ADM osd crush add osd.$osd 1.0 host=$HOSTNAME root=default
|
||||
$SUDO $CEPH_BIN/ceph-osd -i $osd $ARGS --mkfs --mkkey --osd-uuid $uuid
|
||||
|
||||
key_fn=$CEPH_DEV_DIR/osd$osd/keyring
|
||||
|
Loading…
Reference in New Issue
Block a user