Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 129 for derive (0.15 sec)

  1. cmd/storage-errors.go

    var errDriveIsRoot = StorageErr("drive is part of root drive, will not be used")
    
    // errFaultyRemoteDisk - remote disk is faulty.
    var errFaultyRemoteDisk = StorageErr("remote drive is faulty")
    
    // errFaultyDisk - disk is faulty.
    var errFaultyDisk = StorageErr("drive is faulty")
    
    // errDiskAccessDenied - we don't have write permissions on disk.
    var errDiskAccessDenied = StorageErr("drive access denied")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. cmd/storage-rest-client.go

    	if err != nil {
    		return nil, toStorageErr(err)
    	}
    	return respBody, nil
    }
    
    // Stringer provides a canonicalized representation of network device.
    func (client *storageRESTClient) String() string {
    	return client.endpoint.String()
    }
    
    // IsOnline - returns whether RPC client failed to connect or not.
    func (client *storageRESTClient) IsOnline() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/common-main.go

    		rootDiskSize = env.Get(config.EnvRootDiskThresholdSize, "")
    	}
    	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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  4. cmd/erasure-server-pool-decom.go

    		return false, errInvalidArgument
    	}
    	now := UTCNow()
    	if now.Sub(p.Pools[idx].LastUpdate) >= duration {
    		if serverDebugLog {
    			console.Debugf("decommission: persisting poolMeta on drive: threshold:%s, poolMeta:%#v\n", now.Sub(p.Pools[idx].LastUpdate), p.Pools[idx])
    		}
    		p.Pools[idx].LastUpdate = now
    		if err := p.save(ctx, pools); err != nil {
    			return false, err
    		}
    		return true, nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  5. cmd/metrics-v2.go

    		Subsystem: "health",
    		Name:      "erasure_set_online_drives",
    		Help:      "Get the count of the online drives in this erasure set",
    		Type:      gaugeMetric,
    	}
    }
    
    func getClusterErasureSetHealingDrivesMD() MetricDescription {
    	return MetricDescription{
    		Namespace: clusterMetricNamespace,
    		Subsystem: "health",
    		Name:      "erasure_set_healing_drives",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  6. internal/disk/stat_netbsd.go

    		FSType: string(s.Fstypename[:]),
    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. internal/disk/stat_openbsd.go

    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. cmd/globals.go

    	// The global subnet config
    	globalSubnetConfig subnet.Config
    
    	// The global callhome config
    	globalCallhomeConfig callhome.Config
    
    	// The global drive config
    	globalDriveConfig drive.Config
    
    	// The global cache config
    	globalCacheConfig cache.Config
    
    	// Global server's network statistics
    	globalConnStats = newConnStats()
    
    	// Global HTTP request statistics
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. internal/mountinfo/mountinfo_linux.go

    			// - mount.Path doesn't match (means cross-device mount), should error out.
    			if mount.Path != path {
    				crossMounts = append(crossMounts, mount)
    			}
    		}
    	}
    	msg := `Cross-device mounts detected on path (%s) at following locations %s. Export path should not have any sub-mounts, refusing to start.`
    	if len(crossMounts) > 0 {
    		// if paths didn't match then we do have cross-device mount.
    		return fmt.Errorf(msg, path, crossMounts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  10. misc/ios/detect.go

    	if len(udids) == 0 {
    		fail("no udid found; is a device connected?")
    	}
    
    	mps := detectMobileProvisionFiles(udids)
    	if len(mps) == 0 {
    		fail("did not find mobile provision matching device udids %q", udids)
    	}
    
    	fmt.Println("# Available provisioning profiles below.")
    	fmt.Println("# NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top