LVM VolumeGroup

Overview

This data type is included in the result of the next API request.

This data type is included in the parameter of the next DataType.

DATA TYPE

Contents

Contents
PARAMETER DESCRIPTION DATATYPE
logical_volumes Logical volumes is array. It has hash with a key of lv_label and size. (size is not required) There is different limitation among each OS. Please refer OS specific limitations logical_volumes raw. Logical Volume Array
physical_volume_partition_labels Labels of Physical Volume. It must have be the same value as the partition_label of RaidArray. String Array
Logical Volume
PARAMETER DESCRIPTION DATATYPE
lv_label Label of Logical Volume. There is different limitation among each OS. Please refer OS specific limitations. String
vg_label Label of Volume Group. There is different limitation among each OS. Please refer OS specific limitations. String
size Logical volume size. The following types that supported are T, G, M, auto. If you specify auto, all assigned area is rest. auto specify allow only one. 1G equals 1,000,000,000 bytes and 1T equals 1,000,000,000,000 bytes when referring to drive capacity. Mount point is ‘/’ must specify more than or equal to 10GB. Other mount point must specify more than or equal to 2GB. String

Example

{
  "lvm_volume_groups": [
    {
      "vg_label": "VG_root",
      "physical_volume_partition_labels": [
        "primary-part"
      ],
      "logical_volumes": [
        {
          "lv_label": "LV_root"
        },
        {
          "size": "2G",
          "lv_label": "LV_swap"
        }
      ]
    }
  ]
}