Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Disk (0.06 sec)

  1. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	disk := er.getDisks()[0]
    	fileInfoPreHeal, err := disk.ReadVersion(context.Background(), "", bucket, object, "", ReadOptions{ReadData: false, Healing: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Remove the object - to simulate the case where the disk was down when the object
    	// was created.
    	err = removeAll(pathJoin(disk.String(), bucket, object))
    	if err != nil {
    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/erasure-object.go

    	// Remove versions in bulk for each disk
    	for index, disk := range storageDisks {
    		wg.Add(1)
    		go func(index int, disk StorageAPI) {
    			defer wg.Done()
    			delObjErrs[index] = make([]error, len(objects))
    			if disk == nil {
    				for i := range objects {
    					delObjErrs[index][i] = errDiskNotFound
    				}
    				return
    			}
    			errs := disk.DeleteVersions(ctx, bucket, dedupVersions, DeleteOptions{})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    				continue
    			}
    		}
    		var maxUsedPct int
    		for _, disk := range zinfo {
    			if disk == nil || disk.Total == 0 {
    				continue
    			}
    			available += disk.Total - disk.Used
    
    			// set maxUsedPct to the value from the disk with the least space percentage.
    			if pctUsed := int(disk.Used * 100 / disk.Total); pctUsed > maxUsedPct {
    				maxUsedPct = pctUsed
    			}
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    }
    
    // getDiskInfo returns given disk information.
    func getDiskInfo(drivePath string) (di disk.Info, rootDrive bool, err error) {
    	if err = checkPathLength(drivePath); err == nil {
    		di, err = disk.GetInfo(drivePath, false)
    
    		if !globalIsCICD && !globalIsErasureSD {
    			if globalRootDiskThreshold > 0 {
    				// Use MINIO_ROOTDISK_THRESHOLD_SIZE to figure out if
    				// this disk is a root disk. treat those disks with
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    	// removing the disk, used to recreate disk not found error.
    	os.RemoveAll(diskPath)
    
    	// TestXLStorage for delete on an removed disk.
    	// should fail with disk not found.
    	err = xlStorageDeletedStorage.DeleteVol(context.Background(), "Del-Vol", false)
    	if err != errDiskNotFound {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    					success = false
    				} else {
    					stopFn(oi, nil)
    				}
    				ri.trackCurrentBucketObject(r.Target.Bucket, oi, success, attempts)
    				globalBatchJobsMetrics.save(job.ID, ri)
    				// persist in-memory state to disk after every 10secs.
    				batchLogIf(ctx, ri.updateAfter(ctx, api, 10*time.Second, job))
    
    				if wait := globalBatchConfig.ReplicationWait(); wait > 0 {
    					time.Sleep(wait)
    				}
    			}()
    		}
    		wk.Wait()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    	testServer.cancel()
    	testServer.Server.Close()
    	testServer.Obj.Shutdown(context.Background())
    	os.RemoveAll(testServer.Root)
    	for _, ep := range testServer.Disks {
    		for _, disk := range ep.Endpoints {
    			os.RemoveAll(disk.Path)
    		}
    	}
    }
    
    // Truncate request to simulate unexpected EOF for a request signed using streaming signature v4.
    func truncateChunkByHalfSigv4(req *http.Request) (*http.Request, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    		types = madmin.MetricType(t)
    	} else {
    		types = madmin.MetricsAll
    	}
    
    	diskMap := make(map[string]struct{})
    	for _, disk := range values[peerRESTDisk] {
    		diskMap[disk] = struct{}{}
    	}
    
    	hostMap := make(map[string]struct{})
    	for _, host := range values[peerRESTHost] {
    		hostMap[host] = struct{}{}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

         * List the contents of this SMB resource. The list returned by this
         * method will be;
         *
         * <ul>
         * <li>files and directories contained within this resource if the
         * resource is a normal disk file directory,
         * <li>all available NetBIOS workgroups or domains if this resource is
         * the top level URL <code>smb://</code>,
         * <li>all servers registered as members of a NetBIOS workgroup if this
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	// to the in-memory cache since the disk loading began. If there
    	// were changes to the in-memory cache we should wait for the next
    	// cycle until we can safely update the in-memory cache.
    	//
    	// An in-memory cache must be replaced only if we know for sure that the
    	// values loaded from disk are not stale. They might be stale if the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top