diff --git a/pkg/daemon/ceph/osd/volume.go b/pkg/daemon/ceph/osd/volume.go index 8dfd8df4a7ba8..776453fa41f41 100644 --- a/pkg/daemon/ceph/osd/volume.go +++ b/pkg/daemon/ceph/osd/volume.go @@ -779,7 +779,7 @@ func (a *OsdAgent) initializeDevicesLVMMode(context *clusterd.Context, devices * } for _, report := range cvReports { - if report.BlockDB != mdPath { + if report.BlockDB != mdPath && !strings.HasSuffix(mdPath, report.BlockDB) { return errors.Errorf("wrong db device for %s, required: %s, actual: %s", report.Data, mdPath, report.BlockDB) } }