Project

General

Profile

Feature #5461

ceph-disk-prepare should support LVM volumes

Added by Maciej Galkiewicz almost 11 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

It is very convenient at least for testing purposes to configure osds on LVM volumes. Unfortunately ceph-disk-prepare creates partition on data and journal disks. It breaks compatibility with LVM because created partition is not visible as /dev/volume_group/ceph_data1 (for volume /dev/volume_group/ceph_data). What is the point of creating partition table on those block devices?

History

#1 Updated by Loïc Dachary about 9 years ago

  • Status changed from New to Rejected

Using /dev/loop instead of LVM, with kernels in the 3.x series helps with testing. See https://ceph.com/git/?p=ceph.git;a=blob;f=src/test/ceph-disk.sh#l320 for an example. If LVM volumes could behave like disks with regard to udev rules and /dev/disk/by-partuuid, they could also be used for testing or whatever, transparently. In any case it's not a ceph issue. Feel free to re-open with more details if you think it should be addressed by Ceph anyway.

Also available in: Atom PDF