Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for used_inodes (0.43 sec)

  1. cmd/metrics-v3-system-drive.go

    	m.Set(driveFreeBytes, float64(drive.AvailableSpace), labels...)
    	m.Set(driveTotalBytes, float64(drive.TotalSpace), labels...)
    	m.Set(driveUsedInodes, float64(drive.UsedInodes), labels...)
    	m.Set(driveFreeInodes, float64(drive.FreeInodes), labels...)
    	m.Set(driveTotalInodes, float64(drive.UsedInodes+drive.FreeInodes), labels...)
    
    	var health float64
    	switch drive.Healing {
    	case true:
    		health = driveHealthHealing
    	case false:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. cmd/metrics-resource.go

    			updateResourceMetrics(driveSubsystem, totalBytes, float64(di.Total), labels, false)
    			updateResourceMetrics(driveSubsystem, usedInodes, float64(di.UsedInodes), labels, false)
    			updateResourceMetrics(driveSubsystem, totalInodes, float64(di.FreeInodes+di.UsedInodes), labels, false)
    		}
    	}
    }
    
    func collectLocalResourceMetrics() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. cmd/erasure.go

    			di.Minor = info.Minor
    			di.RootDisk = info.RootDisk
    			di.Healing = info.Healing
    			di.Scanning = info.Scanning
    			di.State = diskErrToDriveState(err)
    			di.FreeInodes = info.FreeInodes
    			di.UsedInodes = info.UsedInodes
    			if hi := disks[index].Healing(); hi != nil {
    				hd := hi.toHealingDisk()
    				di.HealInfo = &hd
    			}
    			di.Metrics = &madmin.DiskMetrics{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. cmd/storage-datatypes.go

    //
    // The above means that any added/deleted fields are incompatible.
    //
    //msgp:tuple DiskInfo
    type DiskInfo struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	UsedInodes uint64
    	FreeInodes uint64
    	Major      uint32
    	Minor      uint32
    	NRRequests uint64
    	FSType     string
    	RootDisk   bool
    	Healing    bool
    	Scanning   bool
    	Endpoint   string
    	MountPath  string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    		err = msgp.WrapError(err, "Free")
    		return
    	}
    	z.Used, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "Used")
    		return
    	}
    	z.UsedInodes, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "UsedInodes")
    		return
    	}
    	z.FreeInodes, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "FreeInodes")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	info, err := s.diskInfoCache.Get()
    	if err != nil {
    		return false
    	}
    	if info.Used == 0 || info.UsedInodes == 0 {
    		return false
    	}
    	return (float64(info.Free)/float64(info.Used)) < almostFilledPercent || (float64(info.FreeInodes)/float64(info.UsedInodes)) < almostFilledPercent
    }
    
    func (s *xlStorage) moveToTrashNoDeadline(filePath string, recursive, immediatePurge bool) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    	perDisk := size / int64(nDisks)
    	for _, disk := range di {
    		if disk == nil || disk.Total == 0 {
    			continue
    		}
    		if !globalIsErasureSD && disk.FreeInodes < diskMinInodes && disk.UsedInodes > 0 {
    			// We have an inode count, but not enough inodes.
    			return false, nil
    		}
    		if int64(disk.Free) <= perDisk {
    			return false, nil
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top