3.1.1.2. (Reference) Parameter Settings when creating a new Baremetal Server.

Shown below is the description of the parameters with some samples, use these when creating a Baremetal Server.

Disk Partition

You can specify “raid_arrays”, “lvm_volume_groups” or “filesystems parameters”, (if you set the disk partition(s) manually).
.

Note

You can specify only "raid_arrays" on Windows OS.

Example: Configuring the relevant partitions on RHEL, CentOS & Ubuntu.

The following example shows the details when you set that 40GB is assigned to [ / ]; 4G is assigned to the [ swap ] partition; the leftover space is assigned to[ /home” ], without utilizing LVM.
{
     "raid_arrays": [
         {
             "primary_storage": true,
             "partitions": [
                 {
                     "size": "40G",
                     "partition_label": "root"
                 },
                 {
                     "size": "auto",
                     "partition_label": "home"
                 },
                 {
                     "size": "4G",
                     "partition_label": "swap"
                 }
             ]
         }
     ],
     "filesystems": [
         {
             "label": "root",
             "mount_point": "/",
             "fs_type": "ext4"
         },
         {
             "label": "home",
             "mount_point": "/home",
             "fs_type": "ext4"
         },
         {
             "label": "swap",
             "fs_type": "swap"
         }
     ]
 }

Example 1.: Configuring upon Windows OS

Below is an example of how to assign 100GB to C Drive on Windows OS then assign to the remained to D Drive, respectively.
{
    "raid_arrays": [
        {
            "primary_storage": true,
            "partitions": [
                {
                    "size": "100G",
                    "partition_label": "windows"
                },
                {
                    "size": "auto",
                    "partition_label": "data"
                }
            ]
        }
      ]
}

Note

Individual drive letters for the Windows OS are assigned as C, D, E,... and X, respectively, according to the order of inputting into the parameter of “partitions”