Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 389 for disk (0.2 sec)

  1. cmd/xl-storage.go

    		return path, err
    	}
    	if osIsNotExist(err) {
    		// Disk not found create it.
    		if err = mkdirAll(path, 0o777, ""); err != nil {
    			return path, err
    		}
    	}
    	if fi != nil && !fi.IsDir() {
    		return path, errDiskNotDir
    	}
    
    	return path, nil
    }
    
    // Make Erasure backend meta volumes.
    func makeFormatErasureMetaVolumes(disk StorageAPI) error {
    	if disk == nil {
    		return errDiskNotFound
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/erasure-object_test.go

    		}
    
    		// Step 3: Upload the object with some disks offline
    		sets.erasureDisksMu.Lock()
    		xl.getDisks = func() []StorageAPI {
    			disks := make([]StorageAPI, len(origErasureDisks))
    			copy(disks, origErasureDisks)
    			disks[0] = nil
    			disks[1] = nil
    			return disks
    		}
    		sets.erasureDisksMu.Unlock()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  3. cmd/bitrot.go

    	}
    	return
    }
    
    func newBitrotWriter(disk StorageAPI, origvolume, volume, filePath string, length int64, algo BitrotAlgorithm, shardSize int64) io.Writer {
    	if algo == HighwayHash256S {
    		return newStreamingBitrotWriter(disk, origvolume, volume, filePath, length, algo, shardSize)
    	}
    	return newWholeBitrotWriter(disk, volume, filePath, algo, shardSize)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  4. internal/disk/fdatasync_linux.go

    // (st_size, as made by say ftruncate(2)), would require a metadata flush.
    //
    // The aim of fdatasync() is to reduce disk activity for applications that
    // do not require all metadata to be synchronized with the disk.
    func Fdatasync(f *os.File) error {
    	return syscall.Fdatasync(int(f.Fd()))
    }
    
    // FadviseDontNeed invalidates page-cache
    func FadviseDontNeed(f *os.File) error {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 29 23:40:28 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    	ahs.healStatus[tracker.ID] = t
    	tracker.mu.RUnlock()
    }
    
    // Sort by zone, set and disk index
    func sortDisks(disks []madmin.Disk) {
    	sort.Slice(disks, func(i, j int) bool {
    		a, b := &disks[i], &disks[j]
    		if a.PoolIndex != b.PoolIndex {
    			return a.PoolIndex < b.PoolIndex
    		}
    		if a.SetIndex != b.SetIndex {
    			return a.SetIndex < b.SetIndex
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  6. cmd/xl-storage-format-v2_test.go

    				4:  {vDelMarker, vObj}, // disk 4
    				5:  {vDelMarker, vObj}, // disk 5
    				6:  {vDelMarker, vObj}, // disk 6
    				7:  {vDelMarker, vObj}, // disk 7
    				8:  {vDelMarker, vObj}, // disk 8
    				9:  {vDelMarker, vObj}, // disk 9
    				10: {vObj},             // disk 10
    				11: {vDelMarker, vObj}, // disk 11
    				12: {vDelMarker, vObj}, // disk 12
    				13: {vDelMarker, vObj}, // disk 13
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  7. cmd/xl-storage_unix_test.go

    		{"is-this-valid", getUmask()},
    	}
    	testCase := testCases[0]
    
    	// Initialize a new xlStorage layer.
    	disk, err := newLocalXLStorage(tmpPath)
    	if err != nil {
    		t.Fatalf("Initializing xlStorage failed with %s.", err)
    	}
    
    	// Attempt to create a volume to verify the permissions later.
    	// MakeVol creates 0777.
    	if err = disk.MakeVol(context.Background(), testCase.volName); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  8. docs/distributed/decom-encrypted-sse-s3.sh

    policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    kill $pid
    
    (minio server http://localhost:9000/tmp/xl/{1...10}/disk{0...1} http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/expanded_1.log) &
    pid_1=$!
    
    (minio server --address ":9001" http://localhost:9000/tmp/xl/{1...10}/disk{0...1} http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/expanded_2.log) &
    pid_2=$!
    
    sleep 30
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. ci/official/any.sh

    #       ...
    #       ./any.sh
    #     or
    #       export TF_ANY_EXTRA_ENV=ci/official/envs/local_rbe
    #       ./any.sh
    #       ...
    set -euxo pipefail
    cd "$(dirname "$0")/../../"  # tensorflow/
    # Any request that includes "nightly_upload" should just use the
    # local multi-cache (public read-only cache + disk cache) instead.
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 2.1K bytes
    - Viewed (1)
  10. cmd/prepare-storage.go

    		}
    		m[err.Error()]++
    	}
    }()
    
    // Cleans up tmp directory of the local disk.
    func bgFormatErasureCleanupTmp(diskPath string) {
    	// Need to move temporary objects left behind from previous run of minio
    	// server to a unique directory under `minioMetaTmpBucket-old` to clean
    	// up `minioMetaTmpBucket` for the current run.
    	//
    	// /disk1/.minio.sys/tmp-old/
    	//  |__ 33a58b40-aecc-4c9f-a22f-ff17bfa33b62
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top