Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkDiskFatalErrs (0.22 sec)

  1. cmd/prepare-storage.go

    				} else {
    					logger.Fatal(errInvalidArgument, "Unable to use the drive %s: %v", endpoints[i], err)
    				}
    			}
    		}
    	}
    
    	if err := checkDiskFatalErrs(errs); err != nil {
    		return nil, nil, err
    	}
    
    	// Attempt to load all `format.json` from all disks.
    	formatConfigs, sErrs := loadFormatErasureAll(storageDisks, false)
    
    	// Check if we have
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    	done(nil)
    	vresp := &VerifyFileResp{}
    	if err != nil {
    		vresp.Err = StorageErr(err.Error())
    	}
    	encoder.Encode(vresp)
    }
    
    func checkDiskFatalErrs(errs []error) error {
    	// This returns a common error if all errors are
    	// same errors, then there is no point starting
    	// the server.
    	if countErrs(errs, errUnsupportedDisk) == len(errs) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
Back to top