The contents of this configuration file will determine the partitioning of the disks listed in this file. Disk partitioning will take place during OS installation.

pykickstart command format is used for disk partitioning.

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

clearpart [--all] [--drives DRIVES] [--disklabel DISKLABEL]
Deletes all partitions from the system before creating new ones. By default, existing partitions are not deleted.
If the clearpart command is used, then the --onpart command cannot be used on logical partitions.
--all
Deletes all partitions from the system.
--drives DRIVES
Specify which disks to clean up partitions from.
--disklabel DISKLABEL
Specifies which partition table to use. Accepted values: msdos/mbr, gpt

bootloader [--location {mbr,partition}] [--boot-drive BOOTDRIVE]
Specifies where the boot loader must be installed.
--location {mbr,partition}
Specifies the location of the boot record. Accepted values: mbr (default), partition (installs the boot loader onto the first sector of the drive 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 the 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
swap - partition will be used as a swap.
raid.<id> - partition will be used for RAID.
pv.<id> - partition will be used for LVM.
btrfs.<id> - partition will be used for a BTRFS volume.
--asprimary
Use partition as primary. This parameter only makes sense for a MBR (MSDOS) partition table. If a GPT partition table is used, this parameter is ignored.
--fstype FSTYPE, --type FSTYPE
Sets file system type for the partition. Accepted values: ext4, ext3, ext2, xfs, btrfs, swap and vfat
--grow
Specifies that the partition must increase to the maximum possible size. Note that --grow is not supported for partitions that contain a RAID volume on top.
--maxsize MAXSIZEMB
Sets the maximum size of the partition in MiB. Must be a whole number. Only makes sense together with --grow.
--noformat
Specifies that the partition must not be formatted. Used with --onpart.
--ondisk DISK, --ondrive DISK
The partition is created on the specified drive.
--onpart ONPART, --usepart ONPART
Creates the partition on an existing device. Use --onpart=LABEL=name or --onpart=UUID=name to specify the partition by label or uuid respectively. The installer can create partitions in any order, so it is safer to use labels.
--recommended
Determines the optimal partition size automatically.
--size SIZE
The partition size in MiB (MiB). It must be an integer value with no units.
--fsoptions FSOPTS
Freeform parameter string that will be used when mounting the file system. This string will be copied to /etc/fstab and must be in quotation marks.
--label LABEL
Label for the file system created on the partition. If the label is already assigned to another file system, a new label will be created.
--encrypted
Specifies that the partition must be encrypted.
--passphrase PASSPHRASE
Password for partition encryption. Only works together with --encrypted.
--resize
Change the size of an existing partition. Must be used together with --onpart --size=
--hibernation
Automatically determines the swap size sufficient for hibernation.
--mkfsoptions MKFSOPTS
Additional parameters passed to the program that creates the file system on a given partition. The parameters must be in a format compatible with mkfs - separated by commas or enclosed in quotation marks, depending on the file system. 
--cipher CIPHER
File system encryption algorithm. Used with --encrypted
--luks-version LUKS_VERSION
LUKS format version for file system encryption. Used with --encrypted

btrfs [--noformat] [--useexisting] [--label LABEL] [--data DATALEVEL] [--metadata METADATALEVEL] [--subvol] [--parent PARENT] [--name NAME] [--mkfsoptions MKFSOPTS]
Specifies BTRFS volume or subvolume. For volumes:
btrfs <mntpoint> --data=<level> --metadata=<level> --label=<label> <partitions*>
for subvolumes:
btrfs <mntpoint> --subvol --name=<path> <parent>
<partitions*> lists the BTRFS identifiers to be added to the BTRFS volume. For subvolumes the parent volume identifier must be specified.
The following example shows how to create a BTRFS volume using partitions on three different disks with nested volumes for root and home. The primary volume is not mounted and is not used directly - only the root and home subvolumes:
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 point
--noformat или --useexisting
Uses an existing BTRFS volume or subvolume and does not format the file system.
--label LABEL
Label for the file system created on the partition. If the label is already assigned to another file system, a new label will be created. Not used for subvolumes.
--data DATALEVEL
RAID level (0, 1, 10) to use for file system data. Not used for subvolumes.
--metadata METADATALEVEL
RAID level to use for file system/volume metadata. Not used for subvolumes. 
--subvol
Creates a BTRFS subvolume.
--parent PARENT
Parent PTRFS device.
--name NAME
Subvolume name.
--mkfsoptions MKFSOPTS
Additional parameters passed to the program that creates the file system on a given partition. The parameters must be in a format compatible with mkfs - separated by commas or enclosed in quotation marks, depending on the file system. 

volgroup [--noformat] [--useexisting] [--reserved-space RESERVED_SPACE] [--reserved-percent RESERVED_PERCENT] [--pesize PESIZE] [<name> [<name> ...]] [<partitions*> [<partitions*> ...]]
Creates a volume group (LVM)
Example use:
part pv.01 --size 3000
volgroup myvg pv.01
logvol / --vgname=myvg --size=2000 --name=rootvol
<name>
Name assigned to the volume group. List of identifiers to be added to the volume group.
<partitions*>
Physical volume partitions to be included in the volume group
--noformat или --useexisting
Use an existing volume group. Do not specify volumes when using this option.
--reserved-space RESERVED_SPACE
Unused space in the volume group in MiB. Only used for new volumes.
--reserved-percent RESERVED_PERCENT
Percentage of the volume group space to be left unused. Only used for new volumes.
--pesize PESIZE
Size of physical extents in 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>
Creates LVM logical volumes
Example use:
part pv.01 --size 3000
volgroup myvg pv.01
logvol / --vgname=myvg --size=2000 --name=rootvol
<mntpoint>
Logical volume mount point.
--fstype FSTYPE
File system type for the logical volume. Accepted values: ext4, ext3, ext2, btrfs, swap and vfat
--grow
Specifies that the partition must increase to the maximum possible size. Not supported for volumes that contain a RAID volume on top.
--maxsize MAXSIZEMB
Maximum size of the volume in MiB. Must be a whole number. Used with --grow.
--name NAME
Logical volume name
--noformat
Specifies that the volume must not be formatted.
--percent PERCENT
Logical volume size as percentage of the available volume group space.
--recommended
Determines the optimal volume size automatically.
--size SIZE
Logical volume size
--useexisting
Uses an existing logical volume.
--vgname VGNAME
Name of the volume group the volume belongs to.
--fsoptions FSOPTS
Freeform parameter string that will be used when mounting the file system. This string will be copied to /etc/fstab and must be in quotation marks.
--encrypted
Specifies that the logical volume must be encrypted.
--passphrase PASSPHRASE
Password for volume encryption. Only works together with --encrypted.
--label LABEL
Label for the file system created on the volume. If the label is already assigned to another file system, a new label will be created.
--resize
Change the size of an existing volume to that specified with --size=. Used with --useexisting
--hibernation
Automatically determines the swap size sufficient for hibernation
--cipher CIPHER
File system encryption algorithm. Used with --encrypted
--thinpool
Creates a thin logical volume pool. Used with mountpoint «none»
--thin
Creates a thin logical volume. Requires --poolname
--poolname POOL_NAME
Name of the thin pool where the thin volume will be created. Requires --thin
--chunksize CHUNK_SIZE
Chunk size in KiB for the new thin pool device
--metadatasize METADATA_SIZE
Metadata size in MiB for the new thin pool device
--cachesize CACHE_SIZE
Requested size in MiB of the cache attached to the logical volume. Requires --cachepvs
--cachemode CACHE_MODE
Cache mode: writeback or writethrough
--cachepvs CACHE_PVS
Comma-separated list of physical volumes to be used for caching
--mkfsoptions MKFSOPTS
Additional parameters passed to the program that creates the file system on a given volume. The parameters must be in a format compatible with mkfs - separated by commas or enclosed in quotation marks, depending on the file system.
--luks-version LUKS_VERSION
LUKS format version 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*> ...]]
RAID creation
Creating 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>
RAID file system mountpoint. If it is /, RAID level must be 1, unless boot partition /boot is present. If /boot is present it must be level 1, while / can be any level.
<partitions*>
The software raid sections list the RAID IDs to add to the RAID array.
--device DEVICE
RAID device name.
--fstype FSTYPE
File system type for the RAID array. Accepted values: ext4, ext3, ext2, btrfs, swap and vfat.
--level LEVEL
RAID level. Accepted values: RAID0, RAID1, RAID10, RAID4, RAID5, RAID6.
--noformat
Use an existing RAID device without formatting it.
--spares SPARES
Number of spare disk dedicated to the RAID array. Spare disks are used to restore the array in case of disk failure.
--useexisting
Use an existing RAID device after formatting it.
--fsoptions FSOPTS
Freeform parameter string that will be used when mounting the file system. This string will be copied to /etc/fstab and must be in quotation marks.
--encrypted
RAID device must be encrypted.
--passphrase PASSPHRASE
Password for RAID device encryption. Only works together with --encrypted
--label LABEL
Label for the created file system. If the label is already assigned to another file system, a new label will be created.
--cipher CIPHER
File system encryption algorithm. Used with --encrypted
--mkfsoptions MKFSOPTS
Additional parameters passed to the program that creates the file system. The parameters must be in a format compatible with mkfs - separated by commas or enclosed in quotation marks, depending on the file system.
--chunksize CHUNK_SIZE
The block size in KiB for this RAID.
--luks-version LUKS_VERSION
LUKS format version for file system encryption. Used with --encrypted
