Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for storageInfos (0.25 sec)

  1. cmd/metrics-v3-cluster-health.go

    ) error {
    	clusterDriveMetrics, _ := c.clusterDriveMetrics.Get()
    
    	storageInfo := clusterDriveMetrics.storageInfo
    
    	m.Set(healthCapacityRawTotalBytes, float64(GetTotalCapacity(storageInfo.Disks)))
    	m.Set(healthCapacityRawFreeBytes, float64(GetTotalCapacityFree(storageInfo.Disks)))
    	m.Set(healthCapacityUsableTotalBytes, float64(GetTotalUsableCapacity(storageInfo.Disks, storageInfo)))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cache.go

    		objLayer := newObjectLayerFn()
    		if objLayer == nil {
    			return storageMetrics{}, nil
    		}
    		storageInfo := objLayer.StorageInfo(GlobalContext, true)
    		onlineDrives, offlineDrives := getOnlineOfflineDisksStats(storageInfo.Disks)
    		totalDrives := onlineDrives.Merge(offlineDrives)
    		v = storageMetrics{
    			storageInfo:   storageInfo,
    			onlineDrives:  onlineDrives.Sum(),
    			offlineDrives: offlineDrives.Sum(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  3. cmd/server-startup-msg.go

    	}
    }
    
    // Get formatted disk/storage info message.
    func getStorageInfoMsg(storageInfo StorageInfo) string {
    	var msg string
    	var mcMessage string
    	onlineDisks, offlineDisks := getOnlineOfflineDisksStats(storageInfo.Disks)
    	if storageInfo.Backend.Type == madmin.Erasure {
    		if offlineDisks.Sum() > 0 {
    			mcMessage = "Use `mc admin info` to look for latest server/drive info\n"
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. cmd/admin-server-info.go

    			continue
    		}
    		props.MinioEnvVars[key] = value
    	}
    
    	objLayer := newObjectLayerFn()
    	if objLayer != nil {
    		storageInfo := objLayer.LocalStorageInfo(GlobalContext, metrics)
    		props.State = string(madmin.ItemOnline)
    		props.Disks = storageInfo.Disks
    	} else {
    		props.State = string(madmin.ItemInitializing)
    		props.Disks = getOfflineDisks("", globalEndpoints)
    	}
    
    	return props
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. cmd/notification-summary.go

    	for _, disk := range diskInfo {
    		capacity += disk.TotalSpace
    	}
    	return
    }
    
    // GetTotalUsableCapacity gets the total usable capacity in the cluster.
    func GetTotalUsableCapacity(diskInfo []madmin.Disk, s StorageInfo) (capacity uint64) {
    	for _, disk := range diskInfo {
    		// Ignore invalid.
    		if disk.PoolIndex < 0 || len(s.Backend.StandardSCData) <= disk.PoolIndex {
    			// https://github.com/minio/minio/issues/16500
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  6. cmd/metrics-realtime.go

    	objLayer := newObjectLayerFn()
    	if objLayer == nil {
    		return nil
    	}
    
    	metrics := make(map[string]madmin.DiskMetric)
    	storageInfo := objLayer.LocalStorageInfo(GlobalContext, true)
    	for _, d := range storageInfo.Disks {
    		if len(disks) != 0 {
    			_, ok := disks[d.Endpoint]
    			if !ok {
    				continue
    			}
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. docs/multi-user/admin/README.md

    - admin:CreateUser
    - admin:DeleteUser
    - admin:ListUsers
    - admin:EnableUser
    - admin:DisableUser
    - admin:GetUser
    
    #### Service management permissions
    
    - admin:ServerInfo
    - admin:ServerUpdate
    - admin:StorageInfo
    - admin:DataUsageInfo
    - admin:TopLocks
    - admin:OBDInfo
    - admin:Profiling,
    - admin:ServerTrace
    - admin:ConsoleLog
    - admin:KMSKeyStatus
    - admin:KMSCreateKey
    - admin:ServiceRestart
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  8. cmd/rebalance-admin.go

    	// Load latest rebalance status
    	meta := &rebalanceMeta{}
    	err = meta.load(ctx, z.serverPools[0])
    	if err != nil {
    		return r, err
    	}
    
    	// Compute disk usage percentage
    	si := z.StorageInfo(ctx, true)
    	diskStats := make([]struct {
    		AvailableSpace uint64
    		TotalSpace     uint64
    	}, len(z.serverPools))
    	for _, disk := range si.Disks {
    		// Ignore invalid.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  9. cmd/server-startup-msg_test.go

    import (
    	"context"
    	"os"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    // Tests if we generate storage info.
    func TestStorageInfoMsg(t *testing.T) {
    	infoStorage := StorageInfo{}
    	infoStorage.Disks = []madmin.Disk{
    		{Endpoint: "http://127.0.0.1:9000/data/1/", State: madmin.DriveStateOk},
    		{Endpoint: "http://127.0.0.1:9000/data/2/", State: madmin.DriveStateOk},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. cmd/metrics-v3-system-drive.go

    	driveMetrics, err := c.driveMetrics.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    		return nil
    	}
    
    	for _, disk := range driveMetrics.storageInfo.Disks {
    		labels := []string{
    			driveL, disk.DrivePath,
    			poolIndexL, strconv.Itoa(disk.PoolIndex),
    			setIndexL, strconv.Itoa(disk.SetIndex),
    			driveIndexL, strconv.Itoa(disk.DiskIndex),
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top