diff --git a/pkg/operator/ceph/cluster/osd/spec.go b/pkg/operator/ceph/cluster/osd/spec.go index feaf07966..2ff0d267d 100644 --- a/pkg/operator/ceph/cluster/osd/spec.go +++ b/pkg/operator/ceph/cluster/osd/spec.go @@ -22,7 +22,6 @@ import ( "path" "path/filepath" "strconv" - "strings" "github.com/libopenstorage/secrets" "github.com/pkg/errors" @@ -738,7 +737,7 @@ func (c *Cluster) getActivateOSDInitContainer(configDir, namespace, osdID string Path: filepath.Join( configDir, namespace, - strings.ReplaceAll(osdInfo.BlockPath, "/", "_"), + c.clusterInfo.FSID+"_"+osdInfo.UUID, ), Type: &hostPathType, },