diff --git a/microceph/ceph/osd.go b/microceph/ceph/osd.go index 2feac183..81ecc9ec 100644 --- a/microceph/ceph/osd.go +++ b/microceph/ceph/osd.go @@ -98,7 +98,10 @@ func prepareDisk(disk *types.DiskParameter, suffix string, osdPath string, osdID } disk.Path = path } - return os.Symlink(disk.Path, filepath.Join(osdPath, "block"+suffix)) + if suffix != "" { + return nil + } + return os.Symlink(disk.Path, filepath.Join(osdPath, "block")) } // setupEncryptedOSD sets up an encrypted OSD on the given disk.