Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for StorageInfo (0.41 sec)

  1. cmd/metrics-v2.go

    		metrics = make([]MetricV2, 0, 10)
    		storageInfo := objLayer.StorageInfo(ctx, true)
    		onlineDrives, offlineDrives := getOnlineOfflineDisksStats(storageInfo.Disks)
    		totalDrives := onlineDrives.Merge(offlineDrives)
    
    		metrics = append(metrics, MetricV2{
    			Description: getClusterCapacityTotalBytesMD(),
    			Value:       float64(GetTotalCapacity(storageInfo.Disks)),
    		})
    
    		metrics = append(metrics, MetricV2{
    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)
  2. cmd/admin-handlers.go

    	})
    }
    
    func validateObjPerfOptions(ctx context.Context, storageInfo madmin.StorageInfo, concurrent int, size int, autotune bool) (bool, bool, string) {
    	capacityNeeded := uint64(concurrent * size)
    	capacity := GetTotalUsableCapacityFree(storageInfo.Disks, storageInfo)
    
    	if capacity < capacityNeeded {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  3. cmd/object-api-interface.go

    	BackendInfo() madmin.BackendInfo
    	Legacy() bool // Only returns true for deployments which use CRCMOD as its object distribution algorithm.
    	StorageInfo(ctx context.Context, metrics bool) StorageInfo
    	LocalStorageInfo(ctx context.Context, metrics bool) StorageInfo
    
    	// Bucket operations.
    	MakeBucket(ctx context.Context, bucket string, opts MakeBucketOptions) error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes.go

    	// Multi disk BackendErasure (single, distributed) backend.
    	BackendErasure = BackendType(madmin.Erasure)
    	// Add your own backend.
    )
    
    // StorageInfo - represents total capacity of underlying storage.
    type StorageInfo = madmin.StorageInfo
    
    // objectHistogramInterval is an interval that will be
    // used to report the histogram of objects data sizes
    type objectHistogramInterval struct {
    	name       string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet, http.MethodPost).Path(adminVersion + "/inspect-data").HandlerFunc(adminMiddleware(adminAPI.InspectDataHandler, noGZFlag, traceAllFlag))
    
    		// StorageInfo operations
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/storageinfo").HandlerFunc(adminMiddleware(adminAPI.StorageInfoHandler, traceAllFlag))
    		// DataUsageInfo operations
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    	madminRealtimeMetrics  = grid.NewJSONPool[madmin.RealtimeMetrics]()
    	madminServerProperties = grid.NewJSONPool[madmin.ServerProperties]()
    	madminStorageInfo      = grid.NewJSONPool[madmin.StorageInfo]()
    	madminSysConfig        = grid.NewJSONPool[madmin.SysConfig]()
    	madminSysErrors        = grid.NewJSONPool[madmin.SysErrors]()
    	madminSysServices      = grid.NewJSONPool[madmin.SysServices]()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
Back to top