- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for checkFormatErasureValues (0.15 sec)
-
cmd/prepare-storage.go
// most part unless one of the formats is not consistent // with expected Erasure format. For example if a user is // trying to pool FS backend into an Erasure set. if err = checkFormatErasureValues(formatConfigs, storageDisks, setDriveCount); err != nil { return nil, err } // All disks report unformatted we should initialized everyone. if shouldInitErasureDisks(sErrs) && firstDisk {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 11.1K bytes - Viewed (1) -
cmd/format-erasure.go
return fmt.Errorf("Unsupported Erasure backend format found [%s] on %s", formatErasure.Erasure.Version, disk) } return nil } // Check all format values. func checkFormatErasureValues(formats []*formatErasureV3, disks []StorageAPI, setDriveCount int) error { for i, formatErasure := range formats { if formatErasure == nil { continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.2K bytes - Viewed (0) -
cmd/erasure-sets.go
defer func(storageDisks []StorageAPI) { if err != nil { closeStorageDisks(storageDisks...) } }(storageDisks) formats, sErrs := loadFormatErasureAll(storageDisks, true) if err = checkFormatErasureValues(formats, storageDisks, s.setDriveCount); err != nil { return madmin.HealResultItem{}, err } refFormat, err := getFormatErasureInQuorum(formats) if err != nil { return res, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 27 10:41:37 UTC 2024 - 37K bytes - Viewed (1)