Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DiskID (0.15 sec)

  1. cmd/erasure-sets.go

    // findDiskIndex - returns the i,j'th position of the input `diskID` against the reference
    // format, after successful validation.
    //   - i'th position is the set index
    //   - j'th position is the disk index in the current set
    func findDiskIndexByDiskID(refFormat *formatErasureV3, diskID string) (int, int, error) {
    	if diskID == "" {
    		return -1, -1, errDiskNotFound
    	}
    	if diskID == offlineDiskUUID {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  2. cmd/format-erasure.go

    					i, j, reference.Erasure.Sets[i][j], format.Erasure.Sets[i][j], errInconsistentDisk)
    			}
    		}
    	}
    
    	// Make sure that the diskID is found in the set.
    	for i := 0; i < len(tmpFormat.Erasure.Sets); i++ {
    		for j := 0; j < len(tmpFormat.Erasure.Sets[i]); j++ {
    			if this == tmpFormat.Erasure.Sets[i][j] {
    				return nil
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    	for poolIdx := range z.serverPools {
    		format := z.serverPools[poolIdx].format
    		for setIdx, set := range format.Erasure.Sets {
    			for i, diskID := range set {
    				if diskID == id {
    					return poolIdx, setIdx, i, nil
    				}
    			}
    		}
    	}
    	return -1, -1, -1, fmt.Errorf("DriveID(%s) %w", id, errDiskNotFound)
    }
    
    const (
    	vmware = "VMWare"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
Back to top