Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkFormatErasureValues (0.54 sec)

  1. 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)
  2. 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)
Back to top