Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 142 for diskfis (0.14 sec)

  1. cmd/metrics.go

    	totalDisks := offlineDisks.Merge(onlineDisks)
    
    	// Report total capacity
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "capacity_raw", "total"),
    			"Total capacity online in the cluster",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(GetTotalCapacity(server.Disks)),
    	)
    
    	// Report total capacity free
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, disks, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatalf("Prepare Erasure backend failed - %v", err)
    	}
    	setObjectLayer(obj)
    	defer obj.Shutdown(context.Background())
    	defer removeRoots(disks)
    
    	type tamperKind int
    	const (
    		noTamper tamperKind = iota
    		deletePart
    		corruptPart
    	)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. cmd/object-api-putobject_test.go

    }
    
    // Wrapper for calling PutObject tests for both Erasure multiple disks case
    // when quorum is not available.
    func TestObjectAPIPutObjectDiskNotFound(t *testing.T) {
    	ExecObjectLayerDiskAlteredTest(t, testObjectAPIPutObjectDiskNotFound)
    }
    
    // Tests validate correctness of PutObject.
    func testObjectAPIPutObjectDiskNotFound(obj ObjectLayer, instanceType string, disks []string, t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    	if !s.IsAuthValid(w, r) {
    		return false
    	}
    
    	if err := r.ParseForm(); err != nil {
    		s.writeErrorResponse(w, err)
    		return false
    	}
    
    	diskID := r.Form.Get(storageRESTDiskID)
    	if diskID == "" {
    		// Request sent empty disk-id, we allow the request
    		// as the peer might be coming up and trying to read format.json
    		// or create format.json
    		return true
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses.go

    )
    
    type node struct {
    	nodeName string
    	disks    []string
    }
    
    type endpointsList []node
    
    func (el *endpointsList) add(arg string) error {
    	u, err := url.Parse(arg)
    	if err != nil {
    		return err
    	}
    	found := false
    	list := *el
    	for i := range list {
    		if list[i].nodeName == u.Host {
    			list[i].disks = append(list[i].disks, u.String())
    			found = true
    			break
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    func writeUniqueFileInfo(ctx context.Context, disks []StorageAPI, origbucket, bucket, prefix string, files []FileInfo, quorum int) ([]StorageAPI, error) {
    	g := errgroup.WithNErrs(len(disks))
    
    	// Start writing `xl.meta` to all disks in parallel.
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. Makefile

    verify-healing: install-race ## verify healing and replacing disks with minio binary
    	@echo "Verify healing build with race"
    	@(env bash $(PWD)/buildscripts/verify-healing.sh)
    	@(env bash $(PWD)/buildscripts/verify-healing-empty-erasure-set.sh)
    	@(env bash $(PWD)/buildscripts/heal-inconsistent-versions.sh)
    
    verify-healing-with-root-disks: install-race ## verify healing root disks
    	@echo "Verify healing with root drives"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. helm/minio/templates/statefulset.yaml

            {{- end }}
      {{- if .Values.persistence.enabled }}
      volumeClaimTemplates:
        {{- if gt $drivesPerNode 1 }}
        {{- range $diskId := until $drivesPerNode}}
        - apiVersion: v1
          kind: PersistentVolumeClaim
          metadata:
            name: export-{{ $diskId }}
            {{- if $.Values.persistence.annotations }}
            annotations: {{- toYaml $.Values.persistence.annotations | nindent 10 }}
            {{- end }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 07:50:24 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. cmd/endpoint-ellipses_test.go

    		// Range cannot start bigger than end.
    		{":9000", []string{"/export1{64...1}"}, false},
    		// Range can only be numeric.
    		{":9000", []string{"/export1{a...z}"}, false},
    		// Duplicate disks not allowed.
    		{":9000", []string{"/export1{1...32}", "/export1{1...32}"}, false},
    		// Same host cannot export same disk on two ports - special case localhost.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    }
    
    func (p *xlStorageDiskIDCheck) GetDiskID() (string, error) {
    	return p.storage.GetDiskID()
    }
    
    func (p *xlStorageDiskIDCheck) SetDiskID(id string) {
    	p.diskID.Store(&id)
    }
    
    func (p *xlStorageDiskIDCheck) checkDiskStale() error {
    	if *p.diskID.Load() == emptyDiskID {
    		// For empty disk-id we allow the call as the server might be
    		// coming up and trying to read format.json or create format.json
    		return nil
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top