mirror of
https://github.com/minio/minio.git
synced 2026-11-11 14:30:06 +00:00
server: Implement --ignore-disks for ignoring disks from healing. (#2158)
By default server heals/creates missing directories and re-populates `format.json`, in some scenarios when disk is down for maintainenance it would be beneficial for users to ignore such disks rather than mistakenly using `root` partition. Fixes #2128
This commit is contained in:
1 parent
0793237d94
commit
bdff0848ed
8 files changed
+100
-54
No files matched your search
+1
-1
@@ -40,7 +40,7 @@ func TestNewFS(t *testing.T) {
|
||||
}
|
||||
|
||||
// Initializes all disks with XL
|
||||
_, err := newXLObjects(disks)
|
||||
_, err := newXLObjects(disks, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("Unable to initialize XL object, %s", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user