Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for setDriveCount (0.1 sec)

  1. internal/config/server.go

    }
    
    // ServerConfig represents a MinIO configuration file
    type ServerConfig struct {
    	ServerConfigVersion
    	ServerConfigCommon
    	Pools []struct {
    		Args          []string `yaml:"args"`
    		SetDriveCount uint64   `yaml:"set-drive-count"`
    	} `yaml:"pools"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 15:54:03 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. cmd/config-current.go

    			return err
    		}
    	case config.StorageClassSubSys:
    		if objAPI == nil {
    			return errServerNotInitialized
    		}
    		for _, setDriveCount := range objAPI.SetDriveCounts() {
    			if _, err := storageclass.LookupConfig(s[config.StorageClassSubSys][config.Default], setDriveCount); err != nil {
    				return err
    			}
    		}
    	case config.CompressionSubSys:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    	rawArr := make([]RawFileInfo, er.setDriveCount)
    	metaArr := make([]FileInfo, er.setDriveCount)
    	errs := make([]error, er.setDriveCount)
    	for i := range errs {
    		errs[i] = errDiskOngoingReq
    	}
    
    	done := make(chan bool, er.setDriveCount)
    	disks := er.getDisks()
    
    	ropts := ReadOptions{
    		ReadData:         readData,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. cmd/global-heal.go

    			return nil
    		}
    
    		disks = disks[:len(disks)-healing] // healing drives are always at the end of the list
    
    		if len(disks) < er.setDriveCount/2 {
    			return fmt.Errorf("not enough drives (found=%d, healing=%d, total=%d) are available to heal `%s`", len(disks), healing, er.setDriveCount, tracker.disk.String())
    		}
    
    		rand.Shuffle(len(disks), func(i, j int) {
    			disks[i], disks[j] = disks[j], disks[i]
    		})
    
    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-server-pool.go

    	// Data blocks can vary per pool, but parity is same.
    	for i, setDriveCount := range z.SetDriveCounts() {
    		b.StandardSCData = append(b.StandardSCData, setDriveCount-scParity)
    		b.RRSCData = append(b.RRSCData, setDriveCount-rrSCParity)
    		b.DrivesPerSet = append(b.DrivesPerSet, setDriveCount)
    		b.TotalSets = append(b.TotalSets, z.serverPools[i].setCount)
    	}
    
    	b.StandardSCParity = scParity
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    			// If we did not find suitable disks, perform strict quorum listing
    			// as no disk agrees on quorum anymore.
    			askDisks = getListQuorum("strict", er.setDriveCount)
    		}
    	}
    
    	var fallbackDisks []StorageAPI
    
    	// Special case: ask all disks if the drive count is 4
    	if er.setDriveCount == 4 || askDisks > len(disks) {
    		askDisks = len(disks) // use all available drives
    	}
    
    	// However many we ask, versions must exist on ~50%
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    	if len(disks) == 0 {
    		return fmt.Errorf("no online drives found for set with endpoints %s", set.getEndpoints())
    	}
    
    	// However many we ask, versions must exist on ~50%
    	listingQuorum := (set.setDriveCount + 1) / 2
    
    	// How to resolve partial results.
    	resolver := metadataResolutionParams{
    		dirQuorum: listingQuorum, // make sure to capture all quorum ratios
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  8. cmd/endpoint.go

    	return Endpoint{
    		URL:     u,
    		IsLocal: isLocal,
    		PoolIdx: -1,
    		SetIdx:  -1,
    		DiskIdx: -1,
    	}, nil
    }
    
    // PoolEndpoints represent endpoints in a given pool
    // along with its setCount and setDriveCount.
    type PoolEndpoints struct {
    	// indicates if endpoints are provided in non-ellipses style
    	Legacy       bool
    	SetCount     int
    	DrivesPerSet int
    	Endpoints    Endpoints
    	CmdLine      string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom.go

    	if len(disks) == 0 {
    		return fmt.Errorf("no online drives found for set with endpoints %s", set.getEndpoints())
    	}
    
    	// However many we ask, versions must exist on ~50%
    	listingQuorum := (set.setDriveCount + 1) / 2
    
    	// How to resolve partial results.
    	resolver := metadataResolutionParams{
    		dirQuorum: listingQuorum, // make sure to capture all quorum ratios
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top