Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskStates ¶
DiskStates summarizes the state of all the devices in the array
type MDDevice ¶
type MDDevice struct { Name string //the name of the device Level string //The RAID level of the device Size int64 //Size, as count of 512 byte blocks ArrayState string //State of the Array DiskStates DiskStates //Disks in the Array SyncAction string //The current sync action, if any SyncStatus SyncStatus //the current sync status, if any }
MDDevice represents /sys/block/[device] for an md device
type SyncStatus ¶
SyncStatus represents the status of a sync action as Complete/Total. Will be 0/0 if no sync action is going on
Click to show internal directories.
Click to hide internal directories.