Files
gitea-pages/admin-guide/deployment/partitioning.rst
2021-05-05 14:24:27 +02:00

1.2 KiB

Partitioning

Partitions system are configured with a standard schema using LVM, so that they can be possibly changed afterwards.

By default the whole space available on the first block device is used and any existing partition is removed. The default partition schema is:

  • create one primary /boot partition of 1Gb;
  • create the vg_root Volume Group that uses the rest of the disk;
  • on vg_root create the following logical volumes:
    • lv_root of 12 Gb size for /root;
    • lv_var of 8 Gb size for /var;
    • lv_var_log of 2 Gb size for /var/log;
    • lv_tmp of 2 Gb size for /tmp.

Custom Partitioning

It is possible to customize the partitioning by using the partitions attribute on sysdb.

The partitions attribute can take two values:

  • manual: this will not partition the disks and the installation process will wait for manual partitioning;
  • <URL>: it is assumed to be a file containing the partitioning commands as used in kickstart.

If it is not possible to download the given URL the system fails-back to manual at installation time. Please also note that no check is done on the URL content.