forked from rook/rook
OSDs are created with `ceph-volume lvm batch` if `metadataDevice` field is specified in CephCluster CR. Since this command does not support kernel names (e.g. `/dev/dm-X`) for multipath devices, we should use real names (e.g. `/dev/mapper/mpathX`) instead. NOTE: I intentionally keep raw mode OSD creation code as is because `ceph-volume raw prepare` supports kernel names for any devices. Closes: https://github.com/rook/rook/issues/17057 Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>