XL/format: Initialize missing meta volume. (#2131)

Fixes #2127
This commit is contained in:
Harshavardhana 2016-07-07 15:01:54 -07:00 committed by GitHub
parent f55093cdd6
commit 8e53064bb4

View File

@ -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)