Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for globalRootDiskThreshold (0.08 sec)

  1. cmd/common-main.go

    	if rootDiskSize != "" {
    		size, err := humanize.ParseBytes(rootDiskSize)
    		if err != nil {
    			logger.Fatal(err, fmt.Sprintf("Invalid %s value in root drive threshold environment variable", rootDiskSize))
    		}
    		globalRootDiskThreshold = size
    	}
    
    	domains := env.Get(config.EnvDomain, "")
    	if len(domains) != 0 {
    		for domainName := range strings.SplitSeq(domains, config.ValueSeparator) {
    			if _, ok := dns2.IsDomainName(domainName); !ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		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
    				// size less than or equal to the threshold as rootDrives.
    				rootDrive = di.Total <= globalRootDiskThreshold
    			} else {
    				rootDrive, err = disk.IsRootDisk(drivePath, SlashSeparator)
    			}
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
Back to top