From ee36dfe081062898ed462df032a9dd56c8f92f9c Mon Sep 17 00:00:00 2001 From: Chris Murphy Date: Sep 05 2020 02:07:10 +0000 Subject: Minimalist updates accounting mainly for changes in LVM+ext4 volume recommended sizes. And a note for ZRAM swap by default, where to get more info, and how two swaps behaves. A more significant rewrite to better account for Btrfs by default is still needed. --- diff --git a/modules/install-guide/pages/_partials/install/CustomSpoke_RecommendedScheme.adoc b/modules/install-guide/pages/_partials/install/CustomSpoke_RecommendedScheme.adoc index c3258ae..2c99ce3 100644 --- a/modules/install-guide/pages/_partials/install/CustomSpoke_RecommendedScheme.adoc +++ b/modules/install-guide/pages/_partials/install/CustomSpoke_RecommendedScheme.adoc @@ -6,20 +6,20 @@ In most cases, at least the following mount points should always be created: -`/boot` - 500 MB:: This partition contains the operating system kernel, which allows {PRODUCT} to boot. It also contains other files used during the bootstrap process. Due to the limitations of most firmware, creating a separate, small standard partition for this directory is recommended. In most scenarios, a 500 MB `/boot` partition is adequate. +`/boot` - 1 GB:: This partition contains the operating system kernel, which allows {PRODUCT} to boot. It also contains other files used during the bootstrap process. Due to the limitations of most firmware, creating a separate, small standard partition for this directory is recommended. In most scenarios, a 1 GB `/boot` partition is adequate. + [IMPORTANT] ==== If your system has a hardware RAID controller, be aware that some BIOS types do not support booting from it. In that case, the `/boot` partition must be created on a partition outside of the RAID array, such as on a separate hard drive. -Also note that the `/boot` directory can not be placed on a LVM logical volume or a Btrfs subvolume. Use a standard partition. +Also note that the `/boot` directory can not be placed on a LVM logical volume. Use a standard partition. ==== -`/` (root) - 10 GB:: This is where the root directory is located. The root directory is the top level of the directory structure. By default, all files are written to this partition unless a different partition is mounted in the path being written to (for example, `/boot` or `/home`). If you follow the recommended scheme described in this section, this will be the partition where most software packages will be installed. +`/` (root) - 25 GB:: This is where the root directory is located. The root directory is the top level of the directory structure. By default, all files are written to this partition unless a different partition is mounted in the path being written to (for example, `/boot` or `/home`). If you follow the recommended scheme described in this section, this will be the partition where most software packages will be installed. + -For a minimal installation, a 5 GB root partition will be sufficient. However, for most common installations which include extra packages and a graphical user interface, the root partition should be at least 10 GB; with 20 GB being sufficient for most common use cases. +For a minimal installation, a 10 GB root partition will be sufficient. However, for most common installations which include extra packages and a graphical user interface, the root partition should be at least 25 GB; with 75 GB being sufficient for most common use cases. + [NOTE] ==== @@ -36,6 +36,13 @@ swap - based on your system parameters:: Swap partitions support virtual memory + When the system runs out of swap space, the kernel terminates processes as the system RAM memory is exhausted. Configuring too much swap space results in storage devices being allocated but idle and is a poor use of resources. Too much swap space can also hide memory leaks. The maximum size for a swap partition and other additional information can be found in the `mkswap(8)` man page. + +[NOTE] +==== + +Beginning with Fedora 33, disk-based swap is no longer created by default. Instead, ZRAM-based swap is automatically used. See `man zram-generator` and `man zram-generator.conf` for more information. Should you choose to create disk-based swap, you will have two swap devices: disk-based with a lower priority, and ZRAM-based with a higher priority. + +==== ++ The table below provides the recommended size of a swap partition depending on the amount of RAM in your system and whether you want sufficient memory for your system to hibernate. If you let the installation program partition your system automatically, the swap partition size will be established using these guidelines. Automatic partitioning setup assumes hibernation is not in use, and the maximum size of the swap partition is limited to 10% of the total size of the hard drive. If you want to set up enough swap space to allow for hibernation, or if you want to set the swap partition size to more than 10% of the system's storage space, you must edit the partitioning layout manually. + .Recommended System Swap Space