1.5 KiB
1.5 KiB
Partitioning
Default 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.
Alternatively you might set the sysdb attribute system_disk with the device name of the disk which should be used instead::
bob node set-attr $FQDN system_disk=md126
RHEL7
The default partition schema for RHEL7 is:
- create one primary
/bootpartition of 1Gb; - create the
vg_rootVolume Group that uses the rest of the disk; - on
vg_rootcreate the following logical volumes:lv_rootof 12 Gb size for/root;lv_varof 8 Gb size for/var;lv_var_logof 2 Gb size for/var/log;lv_tmpof 2 Gb size for/tmp.
RHEL8
The default partition schema for RHEL8 is:
- create one primary
/bootpartition of 1Gb; - create the
vg_rootVolume Group that uses the rest of the disk; - on
vg_rootcreate the following logical volumes:lv_rootof 14 Gb size for/root;lv_homeof 2 Gb size for/home;lv_varof 8 Gb size for/var;lv_var_logof 3 Gb size for/var/log;lv_var_tmpof 2 Gb size for/var/log;lv_tmpof 2 Gb size for/tmp.
Custom Partitioning
It is possible to customize the partitioning by using the partitions attribute on sysdb. See https://git.psi.ch/linux-infra/bob for more details.