- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DriveID (0.05 sec)
-
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) -
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) -
cmd/erasure-server-pool.go
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" ) // HealthOptions takes input options to return specific information type HealthOptions struct { Maintenance bool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 89.8K bytes - Viewed (0)