Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for HealFormat (0.05 sec)

  1. cmd/globals.go

    	// Only needed for tracking
    	globalServiceFreezeCnt int32
    	globalServiceFreezeMu  sync.Mutex // Updates.
    
    	// Map of local drives to this node, this is set during server startup,
    	// disk reconnect and mutated by HealFormat. Hold globalLocalDrivesMu to access.
    	globalLocalDrivesMap map[string]StorageAPI
    	globalLocalDrivesMu  sync.RWMutex
    
    	globalDriveMonitoring = env.Get("_MINIO_DRIVE_ACTIVE_MONITORING", config.EnableOn) == config.EnableOn
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops.go

    			if len(healDisks) == 0 {
    				// Reset for next interval.
    				diskCheckTimer.Reset(defaultMonitorNewDiskInterval)
    				continue
    			}
    
    			// Reformat disks immediately
    			_, err := z.HealFormat(context.Background(), false)
    			if err != nil && !errors.Is(err, errNoHealRequired) {
    				healingLogIf(ctx, err)
    				// Reset for next interval.
    				diskCheckTimer.Reset(defaultMonitorNewDiskInterval)
    				continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. cmd/erasure-sets.go

    				}
    				return ""
    			}(),
    			Endpoint: drive,
    			State:    state,
    		}
    	}
    
    	return beforeDrives
    }
    
    // HealFormat - heals missing `format.json` on fresh unformatted disks.
    func (s *erasureSets) HealFormat(ctx context.Context, dryRun bool) (res madmin.HealResultItem, err error) {
    	storageDisks, _ := initStorageDisksWithErrors(s.endpoints.Endpoints, storageOpts{
    		cleanUp:     false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  4. cmd/erasure-server-pool.go

    			createdAt, err := globalBucketMetadataSys.CreatedAt(buckets[i].Name)
    			if err == nil {
    				buckets[i].Created = createdAt
    			}
    		}
    	}
    	return buckets, nil
    }
    
    func (z *erasureServerPools) HealFormat(ctx context.Context, dryRun bool) (madmin.HealResultItem, error) {
    	// Acquire lock on format.json
    	formatLock := z.NewNSLock(minioMetaBucket, formatConfigFile)
    	lkctx, err := formatLock.GetLock(ctx, globalOperationTimeout)
    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