Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 383 for Disks (0.06 sec)

  1. cmd/bucket-policy-handlers_test.go

    		t.Fatalf("want 1 ok, got %d", ok)
    	}
    	if errs != n-1 {
    		t.Fatalf("want %d errors, got %d", n-1, errs)
    	}
    }
    
    // Wrapper for calling Put Bucket Policy HTTP handler tests for both Erasure multiple disks and single node setup.
    func TestPutBucketPolicyHandler(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testPutBucketPolicyHandler, endpoints: []string{"PutBucketPolicy"}})
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. cluster/gce/gci/configure-helper.sh

      mkdir -p /var/lib/kubelet
      mkdir -p /etc/kubernetes/manifests
      if [[ "${KUBERNETES_MASTER:-}" == "false" ]]; then
        mkdir -p /var/lib/kube-proxy
      fi
    }
    
    # Gets the total number of $(1) and $(2) type disks specified
    # by the user in ${NODE_LOCAL_SSDS_EXT}
    function get-local-disk-num() {
      local interface="${1}"
      local format="${2}"
    
      localdisknum=0
      if [[ -n "${NODE_LOCAL_SSDS_EXT:-}" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (1)
  3. cmd/data-scanner-metric.go

    		if strptr != nil {
    			res = append(res, pathJoin(prefix, name, *strptr))
    		}
    		return true
    	})
    	return res
    }
    
    // activeDrives returns the number of currently active disks.
    // (since this is concurrent it may not be 100% reliable)
    func (p *scannerMetrics) activeDrives() int {
    	var i int
    	p.currentPaths.Range(func(k, v interface{}) bool {
    		i++
    		return true
    	})
    	return i
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1.go

    		VersionID:   m.VersionID,
    		DataDir:     m.DataDir,
    		XLV1:        true,
    		NumVersions: 1,
    	}
    
    	return fi, nil
    }
    
    // Signature will return a signature that is expected to be the same across all disks.
    func (m *xlMetaV1Object) Signature() [4]byte {
    	// Shallow copy
    	c := *m
    	// Zero unimportant fields
    	c.Erasure.Index = 0
    	c.Minio.Release = ""
    	crc := hashDeterministicString(c.Meta)
    	c.Meta = nil
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. cmd/erasure-decode.go

    		} else if bitrotHeal == 1 {
    			return newBuf, errFileCorrupt
    		}
    		return newBuf, nil
    	}
    
    	// If we cannot decode, just return read quorum error.
    	return nil, fmt.Errorf("%w (offline-disks=%d/%d)", errErasureReadQuorum, disksNotFound, len(p.readers))
    }
    
    // Decode reads from readers, reconstructs data if needed and writes the data to the writer.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. cmd/storage-rest-client.go

    		return true
    	}
    
    	return false
    }
    
    // Converts network error to storageErr. This function is
    // written so that the storageAPI errors are consistent
    // across network disks.
    func toStorageErr(err error) error {
    	if err == nil {
    		return nil
    	}
    
    	if isNetworkError(err) {
    		return errDiskNotFound
    	}
    
    	switch err.Error() {
    	case errFaultyDisk.Error():
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    	delete(j.MetaUser, xhttp.AmzRestoreRequestDate)
    }
    
    // Signature will return a signature that is expected to be the same across all disks.
    func (j *xlMetaV2Object) Signature() [4]byte {
    	// Shallow copy
    	c := *j
    	// Zero fields that will vary across disks
    	c.ErasureIndex = 0
    
    	// Nil 0 size allownil, so we don't differentiate between nil and 0 len.
    	allEmpty := true
    	for _, tag := range c.PartETags {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    		})
    
    		metrics = append(metrics, MetricV2{
    			Description: getClusterCapacityUsageBytesMD(),
    			Value:       float64(GetTotalUsableCapacity(storageInfo.Disks, storageInfo)),
    		})
    
    		metrics = append(metrics, MetricV2{
    			Description: getClusterCapacityUsageFreeBytesMD(),
    			Value:       float64(GetTotalUsableCapacityFree(storageInfo.Disks, storageInfo)),
    		})
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  9. pkg/volume/portworx/portworx.go

    	volName string
    	podUID  types.UID
    	// Unique id of the PD, used to find the disk resource in the provider.
    	volumeID string
    	// Utility interface that provides API calls to the provider to attach/detach disks.
    	manager portworxManager
    	// Mounter interface that provides system calls to mount the global path to the pod local path.
    	mounter mount.Interface
    	plugin  *portworxVolumePlugin
    	volume.MetricsProvider
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. cmd/format-erasure_test.go

    package cmd
    
    import (
    	"crypto/sha256"
    	"encoding/hex"
    	"encoding/json"
    	"os"
    	"reflect"
    	"testing"
    )
    
    // tests fixFormatErasureV3 - fix format.json on all disks.
    func TestFixFormatV3(t *testing.T) {
    	erasureDirs, err := getRandomDisks(8)
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, erasureDir := range erasureDirs {
    		defer os.RemoveAll(erasureDir)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top