Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 408 for diskID (0.05 seconds)

  1. cmd/erasure-common.go

    	// Based on the random shuffling return back randomized disks.
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	for _, i := range r.Perm(len(disks)) {
    		if disks[i] != nil && disks[i].IsLocal() {
    			newDisks = append(newDisks, disks[i])
    		}
    	}
    
    	return newDisks
    }
    
    func (er erasureObjects) getLocalDisks() (newDisks []StorageAPI) {
    	disks := er.getDisks()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. cmd/typed-errors.go

    var errInvalidRangeSource = errors.New("Range specified exceeds source object size")
    
    // error returned by disks which are to be initialized are waiting for the
    // first server to initialize them in distributed set to initialize them.
    var errNotFirstDisk = errors.New("Not first drive")
    
    // error returned by first disk waiting to initialize other servers.
    var errFirstDiskWait = errors.New("Waiting on other drives")
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 5.9K bytes
    - Click Count (1)
  3. src/archive/zip/writer.go

    		// zip64 end of central directory locator
    		b.uint32(directory64LocSignature)
    		b.uint32(0)           // number of the disk with the start of the zip64 end of central directory
    		b.uint64(uint64(end)) // relative offset of the zip64 end of central directory record
    		b.uint32(1)           // total number of disks
    
    		if _, err := w.cw.Write(buf[:]); err != nil {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  4. .gitignore

    docs/debugging/healing-bin/healing-bin
    docs/debugging/inspect/inspect
    docs/debugging/pprofgoparser/pprofgoparser
    docs/debugging/reorder-disks/reorder-disks
    docs/debugging/populate-hard-links/populate-hardlinks
    docs/debugging/xattr/xattr
    hash-set
    healing-bin
    inspect
    pprofgoparser
    reorder-disks
    s3-check-md5
    s3-verify
    xattr
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 802 bytes
    - Click Count (0)
  5. cmd/object-api-multipart_test.go

    func TestListObjectPartsDiskNotFound(t *testing.T) {
    	ExecObjectLayerDiskAlteredTest(t, testListObjectPartsDiskNotFound)
    }
    
    // testListObjectParts - Tests validate listing of object parts when disks go offline.
    func testListObjectPartsDiskNotFound(obj ObjectLayer, instanceType string, disks []string, t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  6. cmd/server-main_test.go

    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    	// Tests for ErasureSD object layer.
    	nDisks := 1
    	disks, err := getRandomDisks(nDisks)
    	if err != nil {
    		t.Fatal("Failed to create drives for the backend")
    	}
    	defer removeRoots(disks)
    
    	obj, err := newObjectLayer(ctx, mustGetPoolEndpoints(0, disks...))
    	if err != nil {
    		t.Fatal("Unexpected object layer initialization error", err)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. cmd/erasure_test.go

    	diskPaths    []string
    	disks        []StorageAPI
    }
    
    // Returns an initialized setup for erasure tests.
    func newErasureTestSetup(tb testing.TB, dataBlocks int, parityBlocks int, blockSize int64) (*erasureTestSetup, error) {
    	diskPaths := make([]string, dataBlocks+parityBlocks)
    	disks := make([]StorageAPI, len(diskPaths))
    	var err error
    	for i := range diskPaths {
    		disks[i], diskPaths[i], err = newXLStorageTestSetup(tb)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. cmd/metrics-v3-cluster-health.go

    	m.Set(healthCapacityRawTotalBytes, float64(GetTotalCapacity(storageInfo.Disks)))
    	m.Set(healthCapacityRawFreeBytes, float64(GetTotalCapacityFree(storageInfo.Disks)))
    	m.Set(healthCapacityUsableTotalBytes, float64(GetTotalUsableCapacity(storageInfo.Disks, storageInfo)))
    	m.Set(healthCapacityUsableFreeBytes, float64(GetTotalUsableCapacityFree(storageInfo.Disks, storageInfo)))
    
    	return nil
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  9. cmd/object-api-interface.go

    	Marker       string                   // set to skip until this object
    	LatestOnly   bool                     // returns only latest versions for all matching objects
    	AskDisks     string                   // dictates how many disks are being listed
    	VersionsSort WalkVersionsSortOrder    // sort order for versions of the same object; default: Ascending order in ModTime
    	Limit        int                      // maximum number of items, 0 means no limit
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  10. .dockerignore

    docs/debugging/s3-check-md5/s3-check-md5
    docs/debugging/hash-set/hash-set
    docs/debugging/healing-bin/healing-bin
    docs/debugging/inspect/inspect
    docs/debugging/pprofgoparser/pprofgoparser
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 18 20:47:03 GMT 2023
    - 384 bytes
    - Click Count (0)
Back to Top