aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/disk_location.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/disk_location.go')
-rw-r--r--weed/storage/disk_location.go5
1 files changed, 5 insertions, 0 deletions
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) {