Based on the contents of this configuration file, the disks specified in this file will be partitioned. The actual markup is done at the OS installation stage.

It uses the pykickstart command format for partitioning disks.

Supported commands:
ignoredisk [--only-use ONLYUSE]
Controls access to the disks attached to the system.
By default, all disks will be available for partitioning
--only-use ONLYUSE
Only the disks listed here will be used during installation

clearpart [--all] [--drives DRIVES] [--disklabel DISKLABEL]
Deletes partitions from the system before creating new partitions. By default, partitions are not deleted
If the clearpart command is used, the --onpart command cannot be used in a logical partition
--all
Delete all partitions from the system
--drives DRIVES
Specify which disks to clear partitions from
--disklabel DISKLABEL
Specify the partition table to use. Acceptable values: msdos/mbr, gpt

bootloader [--location {mbr,partition}] [--boot-drive BOOTDRIVE]
This command specifies how the bootloader should be installed
--location {mbr,partition}
Specifies where the boot record is written. Acceptable values: mbr (default), partition (sets the boot loader to the first sector of the partition containing the kernel)
--boot-drive BOOTDRIVE
Determines which disk the bootloader should be written to

part or partition [--asprimary] [--fstype FSTYPE] [--grow] [--maxsize MAXSIZEMB] [--noformat] [--ondisk DISK] [--onpart ONPART] [--recommended] [--size SIZE] [--fsoptions FSOPTS] [--label LABEL] [--encrypted] [--passphrase PASSPHRASE] [--resize] [--hibernation] [--cipher CIPHER] [--luks-version LUKS_VERSION] <mntpoint>
Creates a partition in the system. All created partitions will be formatted during installation, unless --noformat and --onpart are used.
<mntpoint>
This is the place where the partition will be mounted. It should have one of the following forms:
/<path> - For example /, /usr, /home
The swap partition will be used as
a raid swap partition.<id> - The partition will be used for software RAID
pv.<id> - The partition will be used for LVM
btrfs.<id> - The partition will be used for the BTRFS volume
--asprimary
Use the section as the primary one. It only makes sense to use this parameter when using the MBR(MSDOS) partition table. When using the partition table, the GPT is ignored
--fstype FSTYPE, --type FSTYPE
Sets the file system type for the partition. Valid values: ext4, ext3, ext2, xfs, btrfs, swap, and vfat
--grow
Specifies that the partition should grow to fill the available space (if any) or to the maximum size. Note that --grow is not supported for partitions containing a RAID volume on top of them
--maxsize MAXSIZEMB
Maximum partition size in MiB (MiB). An integer value without units is used. This option is only relevant if --grow is also specified
--noformat
Do not format the partition. Used with the --onpart command
--ondisk DISK, --ondrive DISK
Create a partition on a specific disk
--onpart ONPART, --usepart ONPART
Place the partition on an existing device. Use --onpart=LABEL=name or --onpart=UUID=name to specify the section by label or uuid, respectively. The installer can create partitions in any order, so it is safer to use labels than absolute partition names.
--recommended
Determine the size of the partition automatically
--size SIZE
The size of the partition in MiB (MiB). An integer value is used without units of measurement
--fsoptions FSOPTS
A string of parameters of any form that will be used when mounting the file system. This line will be copied to the /etc/fstab file of the installed system and must be enclosed in quotation marks
--label LABEL
The label of the file system being created on the partition. If this label is already used by another file system, a new label will be created for this partition
--encrypted
Specify that the partition should be encrypted
--passphrase PASSPHRASE
Specify the passphrase to use when encrypting the partition. Without the --encrypted option above, this option does nothing
--resize
Change the size of an existing partition. This option should be used with --onpart --size=
--hibernation
You can use this parameter to automatically determine the size of the swap partition that is sufficient to enter sleep mode
--mkfsoptions MKFSOPTS
Additional parameters passed to the program that creates the file system on this partition. The list of arguments is not processed, so they must be provided in a format that can be passed directly to the mkfs program. This means that multiple parameters must be separated by commas or enclosed in double quotes, depending on the file system.
--cipher CIPHER
Encryption algorithm for encrypting the file system. Only relevant when using --encrypted
--luks-version LUKS_VERSION
A version of the LUKS format for file system encryption. Appropriate, only when using --encrypted

btrfs [--noformat] [--useexisting] [--label LABEL] [--data DATALEVEL] [--metadata METADATALEVEL] [--subvol] [--parent PARENT] [--name NAME] [--mkfsoptions MKFSOPTS]
Defines the BTRFS volume or sub-volume. This command has the form:
btrfs <mntpoint> --data=<level> --metadata=<level> --label=<label> <partitions*>
for subtomes:
btrfs <mntpoint> --subvol --name=<path> <parent>
The <partitions*> lists the BTRFS IDs to add to the BTRFS volume. For sub-volumes, there must be the ID of the parent volume
The following example shows how to create a BTRFS volume from partitions on three disks with nested volumes for root and home. In this example, the main volume is not mounted or used directly - only the root and home subtomes:
part btrfs.01 --size=6000 --ondisk=sda
part btrfs.02 --size=6000 --ondisk=sdb
part btrfs.03 --size=6000 --ondisk=sdc
btrfs none --data=0 --metadata=1 --label=f17 btrfs.01 btrfs.02 btrfs.03
btrfs / --subvol --name=root LABEL=f17
btrfs /home --subvol --name=home f17
<mntpoint>
File system mount location
--noformat or --useexisting
Use an existing BTRFS volume (or sub-volume) and do not format the file system
--label LABEL
The label for the file system that is being created. If this label is already used by another file system, a new label will be created. Not used for subtomes
--data DATALEVEL
The RAID level to use (0, 1, 10) for file system data. Not used for subtomes
--metadata METADATALEVEL
The RAID level to use (0, 1, 10) for file system/volume metadata. Not used for subtomes
--subvol
Create a BTRFS
subtome --parent PARENT
BTRFS parent device
--name NAME
Subtome name
--mkfsoptions MKFSOPTS
Additional parameters passed to the program that creates the file system on this partition. The list of arguments is not processed, so they must be provided in a format that can be passed directly to the mkfs program. This means that multiple parameters must be separated by commas or enclosed in double quotes, depending on the file system.

volgroup [--noformat] [--useexisting] [--reserved-space RESERVED_SPACE] [--reserved-percent RESERVED_PERCENT] [--pesize PESIZE] [<name> [<name> ...]] [<partitions*> [<partitions*> ...]]
Creates a logical volume management group (LVM)
Usage example:
part pv. 01 --size 3000
volgroup myvg pv.01
logvol / --vgname=myvg --size=2000 --name=rootvol
<name>
The name assigned to the volume group. List of IDs to add to a volume group
<partitions*>
Physical volume partitions that should be included in this volume group
--noformat or --useexisting
Use an existing volume group. Do not specify partitions when using this option
--reserved-space RESERVED_SPACE
The amount of unused space in a volume group in MiB (MiB) without specifying units of measurement. This option is only used for new volume groups
--reserved-percent RESERVED_PERCENT
The percentage of the total volume group space that should be left unused. This option is only used for new volume groups
--pesize PESIZE
Size of physical extents in KiB (KiB)

logvol [--fstype FSTYPE] [--grow] [--maxsize MAXSIZEMB] --name NAME [--noformat] [--percent PERCENT] [--recommended] [--size SIZE] [--useexisting] --vgname VGNAME [--fsoptions FSOPTS] [--encrypted] [--passphrase PASSPHRASE] [--label LABEL] [--resize] [--hibernation] [--cipher CIPHER] [--thinpool] [--thin] [--poolname POOL_NAME] [--chunksize CHUNK_SIZE] [--metadatasize METADATA_SIZE] [--profile PROFILE] [--cachesize CACHE_SIZE] [--cachemode CACHE_MODE] [--cachepvs CACHE_PVS] [--mkfsoptions MKFSOPTS] [--luks-version LUKS_VERSION] <mntpoint>
Creating LVM Logical volumes
Usage Example:
part pv.01 --size 3000
volgroup myvg pv.01
logvol / --vgname=myvg --size=2000 --name=rootvol
<mntpoint>
Logical volume mount point or " none»
--fstype FSTYPE
The file system type for the logical volume. Valid values: ext4, ext3, ext2, btrfs, swap, and vfat
--grow
The logical volume must grow to fill the available space (if any), or to the maximum size. Not supported for logical volumes containing a RAID volume on top of them
--maxsize MAXSIZEMB
The maximum size in MiB (MiB) that a logical volume can grow to. An integer value is used without units of measurement. Used with --grow
--name NAME
Logical volume name
--noformat
Do not format a logical volume
--percent PERCENT
Logical volume size as a percentage of the available space in the volume group
--recommended
Determine the size of a logical volume automatically
--size SIZE
Logical Volume size
--useexisting
Use an existing logical volume
--vgname VGNAME
The name of the volume group to which this logical volume belongs
--fsoptions FSOPTS
A string of parameters of any form that will be used when mounting the file system. This line will be copied to the /etc/fstab file of the installed system and must be enclosed in quotation marks
--encrypted
The logical volume must be encrypted
--passphrase PASSPHRASE
The passphrase to use when encrypting this logical volume
--label LABEL
The label for the file system that is being created. If this label is already used by another file system, a new label will be created
--resize
Change the size of the logical volume to the size specified in --size=. This parameter must be used with --useexisting
--hibernation
Automatically detects the size of the swap partition that is sufficient to enter sleep mode
--cipher CIPHER
Encryption algorithm for encrypting the file system. Used with --encrypted
--thinpool
Create a logical volume of a thin pool. Use the "none" mount point»
--thin
Create a thin logical volume. Requires --poolname
--poolname POOL_NAME
The name of the thin pool in which the thin logical volume will be created. Requires --thin
--chunksize CHUNK_SIZE
Block size in KiB(KiB) for the new thin pool device
--metadatasize METADATA_SIZE
The size of the metadata area in MiB (MiB) for the new thin pool device
--cachesize CACHE_SIZE
The requested size in MiB (MiB) of the cache attached to the logical volume. Requires --cachepvs
--cachemode CACHE_MODE
The mode to use for the cache: writeback or writethrough
--cachepvs CACHE_PVS
Comma-separated list of (fast) physical volumes that should be used for caching
--mkfsoptions MKFSOPTS
Additional parameters passed to the program that creates the file system on this partition. The list of arguments is not processed, so they must be provided in a format that can be passed directly to the mkfs program. This means that multiple parameters must be separated by commas or enclosed in double quotes, depending on the file system.
--luks-version LUKS_VERSION
A version of the LUKS format for file system encryption. Used with --encrypted

raid --device DEVICE [--fstype FSTYPE] [--level LEVEL] [--noformat] [--spares SPARES] [--useexisting] [--fsoptions FSOPTS] [--encrypted] [--passphrase PASSPHRASE] [--label label] [--cipher CIPHER] [--mkfsoptions MKFSOPTS] [--chunksize CHUNK_SIZE] [--luks-version LUKS_VERSION] <mntpoint> [<partitions*> [<partitions*> ...]]
Create software RAID
The following example shows how to create a level 1 RAID partition for / and a level 5 RAID partition for /usr, assuming that the system has three disks. It also creates three swap partitions, one on each disk:
part raid.01 --size=6000 --ondisk=sda
part raid.02 --size=6000 --ondisk=sdb
part raid.03 --size=6000 --ondisk=sdc
part swap1 --size=512 --ondisk=sda
part swap2 --size=512 --ondisk=sdb
part swap3 --size=512 --ondisk=sdc
part raid.11 --size=6000 --ondisk=sda
part raid.12 --size=6000 --ondisk=sdb
part raid.13 --size=6000 --ondisk=sdc
raid / --level=1 --device=md0 raid.01 raid.02 raid.03
raid /usr --level=5 --device=md1 raid.11 raid.12 raid.13
<mntpoint>
The location where the RAID file system is mounted. If it is /, the RAID level should be 1, unless the boot partition /boot is present. If there is a boot partition, the /boot partition must be level 1, the root / partition can be any of the available types
<partitions*>
The software raid sections list the RAID IDs to add to the RAID array
--device DEVICE
Name of the RAID device used
--fstype FSTYPE
The file system type for the RAID array. Valid values: ext4, ext3, ext2, btrfs, swap, and vfat
--level LEVEL
RAID level. Valid values: RAID0, RAID1, RAID10, RAID4, RAID5, RAID6
--noformat
Use an existing RAID device without formatting it.
--spares SPARES
The number of backup disks allocated to the RAID array. Spare disks are used to restore the array in the event of a disk failure
--useexisting
Use an existing RAID device by reformatting it
--fsoptions FSOPTS
A string of parameters of any form that will be used when mounting the file system. This line will be copied to the /etc/fstab file of the installed system and must be enclosed in quotation marks
--encrypted
The RAID device must be encrypted
--passphrase PASSPHRASE
Passphrase to use when encrypting this RAID device
--label LABEL
The label for the file system to be created. If this label is already used by another file system, a new label will be created
--cipher CIPHER
Encryption algorithm for encrypting the file system. Used with --encrypted
--mkfsoptions MKFSOPTS
Additional parameters passed to the program that creates the file system on this partition. The list of arguments is not processed, so they must be provided in a format that can be passed directly to the mkfs program. This means that multiple parameters must be separated by commas or enclosed in double quotes, depending on the file system.
--chunksize CHUNK_SIZE
The block size in KiB for this RAID array
--luks-version LUKS_VERSION
A version of the LUKS format for file system encryption. Used with --encrypted
