mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
ceph-volume lvm.prepare bluestore wal and db links get created with mkfs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
parent
4970ab5c80
commit
80698d2309
@ -58,12 +58,8 @@ def prepare_bluestore(block, wal, db, secrets, id_=None, fsid=None):
|
||||
osd_id = id_ or prepare_utils.create_id(fsid, json_secrets)
|
||||
# create the directory
|
||||
prepare_utils.create_osd_path(osd_id, tmpfs=True)
|
||||
# symlink the block, wal, and db
|
||||
# symlink the block
|
||||
prepare_utils.link_block(block, osd_id)
|
||||
if wal:
|
||||
prepare_utils.link_wal(wal, osd_id)
|
||||
if db:
|
||||
prepare_utils.link_db(db, osd_id)
|
||||
# get the latest monmap
|
||||
prepare_utils.get_monmap(osd_id)
|
||||
# write the OSD keyring if it doesn't exist already
|
||||
|
Loading…
Reference in New Issue
Block a user