mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
ceph-disk-prepare: fix journal partition creation
The end value needs to have + to indicate it is relative to wherever the start is. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
8921fc7c7b
commit
2e32a0ee2d
@ -314,7 +314,7 @@ def prepare(
|
||||
# then again nothing guards the partition table from races
|
||||
# anyway
|
||||
num = get_free_partition_index(dev=journal)
|
||||
journal_part = '{num}:0:{size}M'.format(
|
||||
journal_part = '{num}:0:+{size}M'.format(
|
||||
num=num,
|
||||
size=journal_size,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user