Partitioning of a VCP node

Partitioning of a VCP node

Starting from the Q4`18 MCP release, the VCP images contain the prebuilt partitioning table. The main VM disk, which is vda, has the following partitions:

  • vda1 - 1 MB partition required for GPT
  • vda2 - 1 GB boot partition
  • vda3 - Partition with LVM

The mountpoints selection is based on the recommendations from Center for Internet Security (CIS) and inlcude the following:

  • root
  • home
  • /var/log
  • /var/log/audit
  • /tmp
  • /var/tmp

Example of a partition table for a proxy node:

root@prx01:# lsblk /dev/vda
NAME                  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
vda                   252:0    0   20G  0 disk
├─vda2                252:2    0 1002M  0 part /boot
├─vda3                252:3    0   19G  0 part
│ ├─vg0-home          253:1    0  100M  0 lvm  /home
│ ├─vg0-var_tmp       253:4    0  500M  0 lvm  /var/tmp
│ ├─vg0-tmp           253:2    0  500M  0 lvm  /tmp
│ ├─vg0-root          253:0    0  9.5G  0 lvm  /
│ ├─vg0-var_log_audit 253:5    0  500M  0 lvm  /var/log/audit
│ └─vg0-var_log       253:3    0  2.9G  0 lvm  /var/log
└─vda1                252:1    0    1M  0 part