Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DriveID (0.05 sec)

  1. cmd/erasure-sets.go

    	}
    	if diskID == offlineDiskUUID {
    		return -1, -1, fmt.Errorf("DriveID: %s is offline", diskID)
    	}
    	for i := 0; i < len(refFormat.Erasure.Sets); i++ {
    		for j := 0; j < len(refFormat.Erasure.Sets[0]); j++ {
    			if refFormat.Erasure.Sets[i][j] == diskID {
    				return i, j, nil
    			}
    		}
    	}
    
    	return -1, -1, fmt.Errorf("DriveID: %s not found", diskID)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  2. cmd/format-erasure.go

    	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
    			}
    		}
    	}
    	return fmt.Errorf("DriveID %s not found in any drive sets %s", this, format.Erasure.Sets)
    }
    
    // saveFormatErasureAll - populates `format.json` on disks in its order.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top