Safe Haskell | None |
---|
LVM data types
This module holds the definition of the data types describing the status of the disks according to LVM (and particularly the lvs tool).
- data LVInfo = LVInfo {
- lviUuid :: String
- lviName :: String
- lviAttr :: String
- lviMajor :: Int
- lviMinor :: Int
- lviKernelMajor :: Int
- lviKernelMinor :: Int
- lviSize :: Int
- lviSegCount :: Int
- lviTags :: String
- lviModules :: String
- lviVgUuid :: String
- lviVgName :: String
- lviSegtype :: String
- lviSegStart :: Int
- lviSegStartPe :: Int
- lviSegSize :: Int
- lviSegTags :: String
- lviSegPeRanges :: String
- lviDevices :: String
- lviInstance :: Maybe String
- loadLVInfo :: JSValue -> Result LVInfo
- saveLVInfo :: LVInfo -> JSValue
Documentation
This is the format of the report produced by each data collector.
LVInfo | |
|
Eq LVInfo | |
Show LVInfo | |
Arbitrary LVInfo | Arbitrary instance for LVInfo. The instance is always Nothing because it is not part of the parsed data: it is added afterwards from a different source. |
JSON LVInfo | |
ArrayObject LVInfo | |
DictObject LVInfo |
loadLVInfo :: JSValue -> Result LVInfoSource
saveLVInfo :: LVInfo -> JSValueSource