diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.go index f16963356..c6fceb2c2 100644 --- a/weed/storage/disk_location.go +++ b/weed/storage/disk_location.go @@ -95,6 +95,11 @@ func (l *DiskLocation) loadExistingVolume(fileInfo os.FileInfo, needleMapKind Ne return false } + // skip ec volumes + if util.FileExists(l.Directory + "/" + volumeName + ".ecx") { + return false + } + // check for incomplete volume noteFile := l.Directory + "/" + volumeName + ".note" if util.FileExists(noteFile) {