LVM management functions.
Create new Logical Volume on given Volume Group.
Parameters: |
|
---|---|
Return type: | LMIInstance/LMI_LVStorageExtent |
Create new Volume Group from given devices.
Parameters: |
|
---|---|
Return type: | LMIInstance/LMI_VGStoragePool |
Destroy given Logical Volume.
Parameters: | lv (LMIInstance/LMI_LVStorageExtent or string) – Logical Volume to destroy. |
---|
Destroy given Volume Group.
Parameters: | vg (LMIInstance/LMI_VGStoragePool or string) – Volume Group to delete. |
---|
Return Volume Group of given Logical Volume.
Parameters: | lv (LMIInstance/LMI_LVStorageExtent or string) – Logical Volume to examine. |
---|---|
Return type: | LMIInstance/LMI_VGStoragePool |
Retrieve list of all logical volumes allocated from given volume groups.
If no volume groups are provided, all logical volumes on the system are returned.
Parameters: | vgs (list of LMIInstance/LMI_VGStoragePool or list of strings) – Volume Groups to examine. |
---|---|
Return type: | list of LMIInstance/LMI_LVStorageExtent. |
Return Volume Groups of given Thin Pool.
Alias for get_vg_tps.
Retrieve list of all thin pools on the system.
Return type: | list of LMIInstance/LMI_VGStoragePool |
---|
Return list of Logical Volumes on given Volume Group.
Parameters: | vg (LMIInstance/LMI_VGStoragePool or string) – Volume Group to examine. |
---|---|
Return type: | list of LMIInstance/LMI_LVStorageExtent |
Return Physical Volumes of given Volume Group.
Parameters: | vg (LMIInstance/LMI_VGStoragePool or string) – Volume Group to examine. |
---|---|
Return type: | list of LMIInstance/CIM_StorageExtent |
Return Thin Pools of given Volume Group.
Parameters: | vg (LMIInstance/LMI_VGStoragePool or string) – Volume Group to examine. |
---|---|
Return type: | list of LMIInstance/CIM_StoragePool |
Retrieve list of all volume groups on the system.
Return type: | list of LMIInstance/LMI_VGStoragePool |
---|
Modify given Volume Group.
Add ‘add_pvs’ devices as Physical Volumes of the group. Remove ‘remove_pvs’ devices from the Volume Group.
Parameters: |
|
---|