Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 107 for diskUuid (0.22 sec)

  1. cmd/erasure-sets.go

    // findDiskIndex - returns the i,j'th position of the input `diskID` against the reference
    // format, after successful validation.
    //   - i'th position is the set index
    //   - j'th position is the disk index in the current set
    func findDiskIndexByDiskID(refFormat *formatErasureV3, diskID string) (int, int, error) {
    	if diskID == "" {
    		return -1, -1, errDiskNotFound
    	}
    	if diskID == offlineDiskUUID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. 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)
  3. cmd/xl-storage.go

    func (s *xlStorage) GetDiskID() (string, error) {
    	s.RLock()
    	diskID := s.diskID
    	fileInfo := s.formatFileInfo
    	lastCheck := s.formatLastCheck
    
    	// check if we have a valid disk ID that is less than 1 seconds old.
    	if fileInfo != nil && diskID != "" && time.Since(lastCheck) <= 1*time.Second {
    		s.RUnlock()
    		return diskID, nil
    	}
    	s.RUnlock()
    
    	fi, err := s.checkFormatJSON()
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  4. pkg/volume/fc/fc_util.go

    	// otherwise, in second phase, rescan scsi bus and search again, return with any findings
    	for true {
    		for _, diskID := range diskIDs {
    			if len(wwns) != 0 {
    				disk, dm = findDisk(diskID, lun, io, b.deviceUtil)
    			} else {
    				disk, dm = findDiskWWIDs(diskID, io, b.deviceUtil)
    			}
    			// if multipath device is found, break
    			if dm != "" {
    				break
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  5. 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)
  6. cmd/format-erasure_test.go

    	for i, format := range formats {
    		if format == nil {
    			continue
    		}
    		h := sha256.New()
    		for _, set := range format.Erasure.Sets {
    			for _, diskID := range set {
    				h.Write([]byte(diskID))
    			}
    		}
    		formatHashes[i] = hex.EncodeToString(h.Sum(nil))
    	}
    
    	formatCountMap := make(map[string]int)
    	for _, hash := range formatHashes {
    		if hash == "" {
    			continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. helm-releases/minio-2.0.1.tgz

    minio-user secret: secretName: {{ template "minio.secretName" . }} {{- include "minio.tlsKeysVolume" . | indent 8 }} {{- if .Values.persistence.enabled }} volumeClaimTemplates: {{- if gt $drivesPerNode 1 }} {{- range $diskId := until $drivesPerNode}} - metadata: name: export-{{ $diskId }} spec: accessModes: [ {{ $accessMode | quote }} ] {{- if $storageClass }} storageClassName: {{ $storageClass }} {{- end }} resources: requests: storage: {{ $psize }} {{- end }} {{- else }} - metadata: name: export...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 31 09:09:09 UTC 2021
    - 13.6K bytes
    - Viewed (0)
  8. cmd/format-erasure.go

    					i, j, reference.Erasure.Sets[i][j], format.Erasure.Sets[i][j], errInconsistentDisk)
    			}
    		}
    	}
    
    	// Make sure that the diskID is found in the set.
    	for i := 0; i < len(tmpFormat.Erasure.Sets); i++ {
    		for j := 0; j < len(tmpFormat.Erasure.Sets[i]); j++ {
    			if this == tmpFormat.Erasure.Sets[i][j] {
    				return nil
    			}
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. helm-releases/minio-3.3.3.tgz

    minio-user secret: secretName: {{ template "minio.secretName" . }} {{- include "minio.tlsKeysVolume" . | indent 8 }} {{- if .Values.persistence.enabled }} volumeClaimTemplates: {{- if gt $drivesPerNode 1 }} {{- range $diskId := until $drivesPerNode}} - metadata: name: export-{{ $diskId }} spec: accessModes: [ {{ $accessMode | quote }} ] {{- if $storageClass }} storageClassName: {{ $storageClass }} {{- end }} resources: requests: storage: {{ $psize }} {{- end }} {{- else }} - metadata: name: export...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 11 17:28:02 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  10. helm-releases/minio-3.4.7.tgz

    minio-user secret: secretName: {{ template "minio.secretName" . }} {{- include "minio.tlsKeysVolume" . | indent 8 }} {{- if .Values.persistence.enabled }} volumeClaimTemplates: {{- if gt $drivesPerNode 1 }} {{- range $diskId := until $drivesPerNode}} - metadata: name: export-{{ $diskId }} spec: accessModes: [ {{ $accessMode | quote }} ] {{- if $storageClass }} storageClassName: {{ $storageClass }} {{- end }} resources: requests: storage: {{ $psize }} {{- end }} {{- else }} - metadata: name: export...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 25 20:49:24 UTC 2022
    - 15.2K bytes
    - Viewed (0)
Back to top