Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Drive (0.02 sec)

  1. cmd/xl-storage.go

    			storageLogOnceIf(context.Background(),
    				fmt.Errorf("unexpected drive ordering on pool: %s: found drive at (set=%s, drive=%s), expected at (set=%s, drive=%s): %s(%s): %w",
    					humanize.Ordinal(ep.PoolIdx+1), humanize.Ordinal(m+1), humanize.Ordinal(n+1), humanize.Ordinal(ep.SetIdx+1), humanize.Ordinal(ep.DiskIdx+1),
    					s, s.diskID, errInconsistentDisk), "drive-order-format-json")
    			return s, errInconsistentDisk
    		}
    		s.diskID = diskID
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	// TestXLStorage for delete on an removed disk.
    	// should fail with disk not found.
    	err = xlStorageDeletedStorage.DeleteVol(t.Context(), "Del-Vol", false)
    	if err != errDiskNotFound {
    		t.Errorf("Expected: \"Drive not found\", got \"%s\"", err)
    	}
    }
    
    // TestXLStorageStatVol - TestXLStorages validate the volume info returned by xlStorage.StatVol() for various inputs.
    func TestXLStorageStatVol(t *testing.T) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    			}
    		}
    	}
    
    	if !globalIsDistErasure {
    		globalLocalDrivesMu.Lock()
    		globalLocalDrivesMap = make(map[string]StorageAPI, len(localDrives))
    		for _, drive := range localDrives {
    			globalLocalDrivesMap[drive.Endpoint().String()] = drive
    		}
    		globalLocalDrivesMu.Unlock()
    	}
    
    	z.decommissionCancelers = make([]context.CancelFunc, len(z.serverPools))
    
    	// Initialize the pool meta, but set it to not save.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	} else {
    		minDisks = er.setDriveCount - er.defaultParityCount
    	}
    
    	if minDisks == er.setDriveCount/2 {
    		// when data and parity are same we must atleast
    		// wait for response from 1 extra drive to avoid
    		// split-brain.
    		minDisks++
    	}
    
    	calcQuorum := func(metaArr []FileInfo, errs []error) (FileInfo, []FileInfo, []StorageAPI, time.Time, string, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    	localDrives := cloneDrives(globalLocalDrivesMap)
    	globalLocalDrivesMu.RUnlock()
    
    	errs := make([]error, len(localDrives))
    	infos := make([]DiskInfo, len(localDrives))
    	for i, drive := range localDrives {
    		infos[i], errs[i] = drive.DiskInfo(GlobalContext, DiskInfoOptions{})
    	}
    	infoMaps := make(map[string]madmin.DiskMetrics)
    	for i := range infos {
    		if infos[i].Metrics.TotalWaiting >= 1 && errors.Is(errs[i], errFaultyDisk) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 53.4K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    			version = batchExpireVersion
    			jobTyp = string(job.Type())
    			ri.Version = batchExpireVersionV1
    		default:
    			return errInvalidArgument
    		}
    		if serverDebugLog {
    			console.Debugf("%s: persisting info on drive: threshold:%s, %s:%#v\n", jobTyp, now.Sub(ri.LastUpdate), jobTyp, ri)
    		}
    		ri.LastUpdate = now
    
    		data := make([]byte, 4, ri.Msgsize()+4)
    
    		// Initialize the header.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    
    	// MinIO extensions.
    	ErrStorageFull: {
    		Code:           "XMinioStorageFull",
    		Description:    "Storage backend has reached its minimum free drive threshold. Please delete a few objects to proceed.",
    		HTTPStatusCode: http.StatusInsufficientStorage,
    	},
    	ErrRequestBodyParse: {
    		Code:           "XMinioRequestBodyParse",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
Back to top