|
static Status | status () |
| Query the status of the LVM devices file.
|
|
static void | create (const Devicegraph *devicegraph) |
| Add all LVM PVs in the devicegraph to the LVM devices file thus creating it.
|
|
◆ Status
Status of LVM devices file.
Enumerator |
---|
DISABLED | Use of the LVM devices file is disabled.
|
ENABLED | Use of the LVM devices file is enabled.
|
MISSING | Use of the LVM devices file is enabled but the file itself is missing.
|
◆ create()
static void storage::LvmDevicesFile::create |
( |
const Devicegraph * | devicegraph | ) |
|
|
static |
Add all LVM PVs in the devicegraph to the LVM devices file thus creating it.
If the LVM devices file already exists libstorage-ng cannot see PVs on disk that are not included in the LVM devices file.
Should only be called if the status is MISSING.
If the status is ENABLED even libstorage-ng does not see LVM devices not already in the LVM devices file.
If the status is DISABLED the LVM devices file is ignored anyway.
- Exceptions
-
◆ status()
static Status storage::LvmDevicesFile::status |
( |
| ) |
|
|
static |
Query the status of the LVM devices file.
- Exceptions
-
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/libstorage-ng-4.5.258-build/libstorage-ng-4.5.258/storage/LvmDevicesFile.h