Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. cmd/erasure-sets.go

    	}
    	if diskID == offlineDiskUUID {
    		return -1, -1, fmt.Errorf("DriveID: %s is offline", diskID)
    	}
    	for i := range len(refFormat.Erasure.Sets) {
    		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)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  2. cmd/format-erasure.go

    	for i := range len(tmpFormat.Erasure.Sets) {
    		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.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
Back to Top