Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Drive (0.03 sec)

  1. cmd/erasure-healing_test.go

    	}
    
    	// After heal the meta file should be as expected.
    	if !fileInfoPreHeal.Equals(fileInfoPostHeal) {
    		t.Fatal("HealObject failed")
    	}
    
    	uuid, _ := uuid2.NewRandom()
    	for _, drive := range fsDirs {
    		dir := path.Join(drive, bucket, object, uuid.String())
    		err = os.MkdirAll(dir, os.ModePerm)
    		if err != nil {
    			t.Fatal(err)
    		}
    		err = os.WriteFile(pathJoin(dir, "part.1"), []byte("some data"), os.ModePerm)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    			storageLogOnceIf(context.Background(),
    				fmt.Errorf("unexpected drive ordering on pool: %s: found drive at (set=%s, drive=%s), expected at (set=%s, drive=%s): %s(%s): %w",
    					humanize.Ordinal(ep.PoolIdx+1), humanize.Ordinal(m+1), humanize.Ordinal(n+1), humanize.Ordinal(ep.SetIdx+1), humanize.Ordinal(ep.DiskIdx+1),
    					s, s.diskID, errInconsistentDisk), "drive-order-format-json")
    			return s, errInconsistentDisk
    		}
    		s.diskID = diskID
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    	// TestXLStorage for delete on an removed disk.
    	// should fail with disk not found.
    	err = xlStorageDeletedStorage.DeleteVol(context.Background(), "Del-Vol", false)
    	if err != errDiskNotFound {
    		t.Errorf("Expected: \"Drive not found\", got \"%s\"", err)
    	}
    }
    
    // TestXLStorageStatVol - TestXLStorages validate the volume info returned by xlStorage.StatVol() for various inputs.
    func TestXLStorageStatVol(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    			}
    		}
    	}
    
    	if !globalIsDistErasure {
    		globalLocalDrivesMu.Lock()
    		globalLocalDrivesMap = make(map[string]StorageAPI, len(localDrives))
    		for _, drive := range localDrives {
    			globalLocalDrivesMap[drive.Endpoint().String()] = drive
    		}
    		globalLocalDrivesMu.Unlock()
    	}
    
    	z.decommissionCancelers = make([]context.CancelFunc, len(z.serverPools))
    
    	// Initialize the pool meta, but set it to not save.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    	localDrives := cloneDrives(globalLocalDrivesMap)
    	globalLocalDrivesMu.RUnlock()
    
    	errs := make([]error, len(localDrives))
    	infos := make([]DiskInfo, len(localDrives))
    	for i, drive := range localDrives {
    		infos[i], errs[i] = drive.DiskInfo(GlobalContext, DiskInfoOptions{})
    	}
    	infoMaps := make(map[string]madmin.DiskMetrics)
    	for i := range infos {
    		if infos[i].Metrics.TotalWaiting >= 1 && errors.Is(errs[i], errFaultyDisk) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	data := r.Reader
    
    	// No metadata is set, allocate a new one.
    	if opts.UserDefined == nil {
    		opts.UserDefined = make(map[string]string)
    	}
    
    	storageDisks := er.getDisks()
    	// Get parity and data drive count based on storage class metadata
    	parityDrives := globalStorageClass.GetParityForSC(opts.UserDefined[xhttp.AmzStorageClass])
    	if parityDrives < 0 {
    		parityDrives = er.defaultParityCount
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    			version = batchExpireVersion
    			jobTyp = string(job.Type())
    			ri.Version = batchExpireVersionV1
    		default:
    			return errInvalidArgument
    		}
    		if serverDebugLog {
    			console.Debugf("%s: persisting info on drive: threshold:%s, %s:%#v\n", jobTyp, now.Sub(ri.LastUpdate), jobTyp, ri)
    		}
    		ri.LastUpdate = now
    
    		data := make([]byte, 4, ri.Msgsize()+4)
    
    		// Initialize the header.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            cliRequest.rootDirectory = rootLocator.findRoot(topDirectory);
    
            //
            // Make sure the Maven home directory is an absolute path to save us from confusion with say drive-relative
            // Windows paths.
            //
            String mavenHome = System.getProperty(Constants.MAVEN_HOME);
    
            if (mavenHome != null) {
                System.setProperty(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    
    	// MinIO extensions.
    	ErrStorageFull: {
    		Code:           "XMinioStorageFull",
    		Description:    "Storage backend has reached its minimum free drive threshold. Please delete a few objects to proceed.",
    		HTTPStatusCode: http.StatusInsufficientStorage,
    	},
    	ErrRequestBodyParse: {
    		Code:           "XMinioRequestBodyParse",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top