mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-07-10 00:14:38 +00:00
Clarify storage topology and recovery guards
This commit is contained in:
parent
4622df523d
commit
3580a5ed6d
58 changed files with 2670 additions and 575 deletions
|
|
@ -190,15 +190,24 @@ type UnraidStorage struct {
|
|||
|
||||
// UnraidDisk represents a disk's role and state inside an Unraid array.
|
||||
type UnraidDisk struct {
|
||||
Name string `json:"name"`
|
||||
Device string `json:"device,omitempty"`
|
||||
Role string `json:"role,omitempty"`
|
||||
Status string `json:"status,omitempty"`
|
||||
RawStatus string `json:"rawStatus,omitempty"`
|
||||
Serial string `json:"serial,omitempty"`
|
||||
Filesystem string `json:"filesystem,omitempty"`
|
||||
SizeBytes int64 `json:"sizeBytes,omitempty"`
|
||||
Slot int `json:"slot,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Device string `json:"device,omitempty"`
|
||||
Role string `json:"role,omitempty"`
|
||||
Status string `json:"status,omitempty"`
|
||||
RawStatus string `json:"rawStatus,omitempty"`
|
||||
Model string `json:"model,omitempty"`
|
||||
Serial string `json:"serial,omitempty"`
|
||||
Filesystem string `json:"filesystem,omitempty"`
|
||||
Transport string `json:"transport,omitempty"`
|
||||
SizeBytes int64 `json:"sizeBytes,omitempty"`
|
||||
UsedBytes int64 `json:"usedBytes,omitempty"`
|
||||
FreeBytes int64 `json:"freeBytes,omitempty"`
|
||||
Temperature int `json:"temperature,omitempty"`
|
||||
SpunDown bool `json:"spunDown,omitempty"`
|
||||
ReadCount int64 `json:"readCount,omitempty"`
|
||||
WriteCount int64 `json:"writeCount,omitempty"`
|
||||
ErrorCount int64 `json:"errorCount,omitempty"`
|
||||
Slot int `json:"slot,omitempty"`
|
||||
}
|
||||
|
||||
// CephCluster represents Ceph cluster status collected by the host agent.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue