Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetTotalUsableCapacity (0.13 sec)

  1. cmd/erasure-server-pool-decom.go

    	}
    	if idx+1 > len(z.serverPools) {
    		return pi, errInvalidArgument
    	}
    
    	info := z.serverPools[idx].StorageInfo(context.Background())
    	info.Backend = z.BackendInfo()
    
    	usableTotal := int64(GetTotalUsableCapacity(info.Disks, info))
    	usableFree := int64(GetTotalUsableCapacityFree(info.Disks, info))
    	return poolSpaceInfo{
    		Total: usableTotal,
    		Free:  usableFree,
    		Used:  usableTotal - usableFree,
    	}, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		return
    	}
    
    	// Get capacity info when asked.
    	if r.Form.Get("capacity") == "true" {
    		sinfo := objectAPI.StorageInfo(ctx, false)
    		dataUsageInfo.TotalCapacity = GetTotalUsableCapacity(sinfo.Disks, sinfo)
    		dataUsageInfo.TotalFreeCapacity = GetTotalUsableCapacityFree(sinfo.Disks, sinfo)
    		if dataUsageInfo.TotalCapacity > dataUsageInfo.TotalFreeCapacity {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top