Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for DriveStateOk (0.07 sec)

  1. cmd/peer-s3-server.go

    				beforeState[index] = madmin.DriveStateOffline
    				afterState[index] = madmin.DriveStateOffline
    				return errDiskNotFound
    			}
    
    			beforeState[index] = madmin.DriveStateOk
    			afterState[index] = madmin.DriveStateOk
    
    			if bucket == minioReservedBucket {
    				return nil
    			}
    
    			_, serr = localDrives[index].StatVol(ctx, bucket)
    			if serr != nil {
    				if serr == errDiskNotFound {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/erasure.go

    	case errors.Is(err, errFaultyDisk):
    		state = madmin.DriveStateFaulty
    	case errors.Is(err, errDriveIsRoot):
    		state = madmin.DriveStateRootMount
    	case err == nil:
    		state = madmin.DriveStateOk
    	default:
    		state = fmt.Sprintf("%s (cause: %s)", madmin.DriveStateUnknown, err)
    	}
    
    	return
    }
    
    func getOnlineOfflineDisksStats(disksInfo []madmin.Disk) (onlineDisks, offlineDisks madmin.BackendDisks) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. cmd/erasure-healing.go

    	for i, err := range errs {
    		drive := storageEndpoints[i].String()
    		switch err {
    		case nil:
    			hr.Before.Drives[i] = madmin.HealDriveInfo{Endpoint: drive, State: madmin.DriveStateOk}
    			hr.After.Drives[i] = madmin.HealDriveInfo{Endpoint: drive, State: madmin.DriveStateOk}
    		case errDiskNotFound:
    			hr.Before.Drives[i] = madmin.HealDriveInfo{State: madmin.DriveStateOffline}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  4. cmd/global-heal.go

    						// objects that are not found.
    						versionNotFound++
    						continue
    					}
    				} else {
    					// Look for the healing results
    					if res.After.Drives[tracker.DiskIndex].State != madmin.DriveStateOk {
    						err = fmt.Errorf("unexpected after heal state: %s", res.After.Drives[tracker.DiskIndex].State)
    					}
    				}
    
    				if err == nil {
    					bgSeq.countHealed(madmin.HealItemObject)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    	// result, also populate disks to be healed.
    	for i, format := range formats {
    		drive := endpoints.GetString(i)
    		state := madmin.DriveStateCorrupt
    		switch {
    		case format != nil:
    			state = madmin.DriveStateOk
    		case sErrs[i] == errUnformattedDisk:
    			state = madmin.DriveStateMissing
    		case sErrs[i] == errDiskNotFound:
    			state = madmin.DriveStateOffline
    		}
    		beforeDrives[i] = madmin.HealDriveInfo{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  6. cmd/admin-heal-ops.go

    		}
    	case <-h.ctx.Done():
    		return nil
    	}
    
    	countOKDrives := func(drives []madmin.HealDriveInfo) (count int) {
    		for _, drive := range drives {
    			if drive.State == madmin.DriveStateOk {
    				count++
    			}
    		}
    		return count
    	}
    
    	// task queued, now wait for the response.
    	select {
    	case res := <-task.respCh:
    		if res.err == nil {
    			h.countHealed(healType)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    			_, ok := globalLocalDrivesMap[disk.Endpoint]
    			globalLocalDrivesMu.RUnlock()
    			if ok {
    				continue
    			}
    		}
    
    		if disk.PoolIndex > -1 && disk.SetIndex > -1 {
    			if disk.State == madmin.DriveStateOk {
    				si := erasureSetUpCount[disk.PoolIndex][disk.SetIndex]
    				si.online++
    				if disk.Healing {
    					si.healing++
    					drivesHealing++
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top