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 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 |