|
|
@ -428,6 +428,12 @@ func healFormatXL(storageDisks []StorageAPI) error { |
|
|
|
// Return success.
|
|
|
|
// Return success.
|
|
|
|
return nil |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Init meta volume.
|
|
|
|
|
|
|
|
if err := initMetaVolume(storageDisks); err != nil { |
|
|
|
|
|
|
|
return err |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// All disks are fresh, format.json will be written by initFormatXL()
|
|
|
|
// All disks are fresh, format.json will be written by initFormatXL()
|
|
|
|
if isFormatNotFound(formatConfigs) { |
|
|
|
if isFormatNotFound(formatConfigs) { |
|
|
|
return initFormatXL(storageDisks) |
|
|
|
return initFormatXL(storageDisks) |
|
|
|