mirror of
https://github.com/ceph/ceph
synced 2025-03-06 16:28:28 +00:00
Merge pull request #56882 from guits/cv-65477
ceph-volume: create LVs when using partitions
This commit is contained in:
commit
4a592ad7fe
@ -249,8 +249,8 @@ class LvmBlueStore(BlueStore):
|
||||
tags['ceph.%s_uuid' % device_type] = lv_uuid
|
||||
tags['ceph.%s_device' % device_type] = path
|
||||
lv.set_tags(tags)
|
||||
elif disk.is_device(device_name):
|
||||
# We got a disk, create an lv
|
||||
elif disk.is_partition(device_name) or disk.is_device(device_name):
|
||||
# We got a disk or a partition, create an lv
|
||||
lv_type = "osd-{}".format(device_type)
|
||||
name_uuid = system.generate_uuid()
|
||||
kwargs = {
|
||||
|
Loading…
Reference in New Issue
Block a user