From 0b262de106dc5aee3015eae92e376434b497914d Mon Sep 17 00:00:00 2001 From: Petr Bokoc Date: Oct 27 2020 14:03:08 +0000 Subject: [PATCH 1/3] Issue 530 - Btrfs by default --- diff --git a/modules/release-notes/pages/desktop/Desktop_index.adoc b/modules/release-notes/pages/desktop/Desktop_index.adoc index c58249a..1c569d9 100644 --- a/modules/release-notes/pages/desktop/Desktop_index.adoc +++ b/modules/release-notes/pages/desktop/Desktop_index.adoc @@ -14,3 +14,7 @@ This ensures that important session processes get the required resources. As a r == The `earlyoom` service is now enabled by default in Fedora KDE Starting with Fedora 33, the `earlyoom` service is enabled by default when using the KDE desktop environment. See the xref:sysadmin/Distribution.adoc#kde-earlyoom[Distribution-wide Changes] section for details. + +== Fedora Workstation now uses Btrfs by default + +The default partitioning scheme on Fedora Workstation now uses Btrfs. See xref:sysadmin/Distribution.adoc#btrfs-by-default[Distribution-wide Changes] for more information. diff --git a/modules/release-notes/pages/sysadmin/Distribution.adoc b/modules/release-notes/pages/sysadmin/Distribution.adoc index 900ce6e..4eae3a9 100644 --- a/modules/release-notes/pages/sysadmin/Distribution.adoc +++ b/modules/release-notes/pages/sysadmin/Distribution.adoc @@ -5,6 +5,18 @@ include::{partialsdir}/entities.adoc[] = Distribution-wide Changes :toc: +[[btrfs-by-default]] +== Fedora Workstation now uses Btrfs by default + +The default partitioning scheme for Fedora Workstation has been changed to Btrfs in Fedora 33. +This change aims to provide users a simpler way to deal with problems such as running out of space on root (`/`) or `/home`, and to add new storage capabilities to Fedora's desktop edition. + +Regardless of the new default settings, you can still use manual partitioning in the installer to change your partitioning settings if desired. Other editions (Fedora Server, IoT, CoreOS, Cloud) continue to use the old defaults. +As a consequence of release engineering complexities, the seldom marketed "Everything" netinstaller will use Btrfs by default. +It's advised that headless and PXE installation use cases should use the Fedora Server netinstaller. + +For detailed explanation of the changes and the rationale behind them, see the link:https://fedoraproject.org/wiki/Changes/BtrfsByDefault[Wiki page]. The Installation Guide has also been updated to reflect the new defaults. + == Fedora Workstation edition contains `thermald` by default Modern Intel-based systems provide sensors and methods to monitor and control temperature of their CPUs. The `thermald` daemon harnesses those sensors to monitor the CPU temperature. Based on the received data, `thermald` uses the best available method to keep the CPU in the right temperature zone. diff --git a/modules/release-notes/pages/sysadmin/Storage.adoc b/modules/release-notes/pages/sysadmin/Storage.adoc index c23a335..64cf2a1 100644 --- a/modules/release-notes/pages/sysadmin/Storage.adoc +++ b/modules/release-notes/pages/sysadmin/Storage.adoc @@ -61,3 +61,7 @@ The `dmraid` package is necessary for supporting firmware-based Redundant Array The `dmraid` package provides the `dmraid-activation.service` that required an obsoleted service `systemd-udev-settle.service` in the default Fedora installation. The `systemd-udev-settle.service` service waited a long time for detection of all devices. As a result, a system booting was significantly prolonged. To solve this problem, `dmraid-activation.service` now disables itself if no supported RAID sets are found when the service runs for the first time. + +== Fedora Workstation now uses Btrfs by default + +The default partitioning scheme on Fedora Workstation now uses Btrfs. See xref:sysadmin/Distribution.adoc#btrfs-by-default[Distribution-wide Changes] for more information. From d9dd946b06c98cac57189c8591c5a55e8b22887e Mon Sep 17 00:00:00 2001 From: Petr Bokoc Date: Oct 27 2020 14:19:31 +0000 Subject: [PATCH 2/3] Expand on btrfs --- diff --git a/modules/release-notes/pages/sysadmin/Distribution.adoc b/modules/release-notes/pages/sysadmin/Distribution.adoc index 4eae3a9..e6d9618 100644 --- a/modules/release-notes/pages/sysadmin/Distribution.adoc +++ b/modules/release-notes/pages/sysadmin/Distribution.adoc @@ -11,11 +11,22 @@ include::{partialsdir}/entities.adoc[] The default partitioning scheme for Fedora Workstation has been changed to Btrfs in Fedora 33. This change aims to provide users a simpler way to deal with problems such as running out of space on root (`/`) or `/home`, and to add new storage capabilities to Fedora's desktop edition. +Some of the benefits of this change are: + +* Since the new partitioning scheme is "one big file system" and there are no "hard" barriers between subvolumes like there are between physical partitions or LVM volumes, you will no longer run out of space on `/` or `/home`. +* Transparent compression significantly reduces write amplification, improving lifespan of your storage hardware, especially solid state drives. +* Reflinks and snapshots are more efficient for use cases such as containers. (Podman supports both.) +* All data is checksummed and verified on every read, reducing error rate. Corrupt data results in an input/output error (EIO), which reduces application confusion and prevents corrupted data from being replicated into backups and archives. +* Btrfs improves desktop responsiveness under heavy load; it has been extensively tested in production for proper input/output isolation capability through cgroups2. +* Btrfs is significantly easier to resize, allowing for easier provisioning of an additional operating system as well as `systemd-homed` integration. +* Complex storage setups are now easier to administer due to Btrfs using one main command (`btrfs`). +* The boot process is simplified, all code is in the kernel. + Regardless of the new default settings, you can still use manual partitioning in the installer to change your partitioning settings if desired. Other editions (Fedora Server, IoT, CoreOS, Cloud) continue to use the old defaults. As a consequence of release engineering complexities, the seldom marketed "Everything" netinstaller will use Btrfs by default. It's advised that headless and PXE installation use cases should use the Fedora Server netinstaller. -For detailed explanation of the changes and the rationale behind them, see the link:https://fedoraproject.org/wiki/Changes/BtrfsByDefault[Wiki page]. The Installation Guide has also been updated to reflect the new defaults. +For detailed explanation of the changes and the rationale behind them, see the link:https://fedoraproject.org/wiki/Changes/BtrfsByDefault[Wiki page] and the link:https://fedoramagazine.org/btrfs-coming-to-fedora-33/[Fedora Magazine article]. The Installation Guide has also been updated to reflect the new defaults. == Fedora Workstation edition contains `thermald` by default diff --git a/modules/release-notes/pages/sysadmin/Installation.adoc b/modules/release-notes/pages/sysadmin/Installation.adoc index e9f63cf..c36df2d 100644 --- a/modules/release-notes/pages/sysadmin/Installation.adoc +++ b/modules/release-notes/pages/sysadmin/Installation.adoc @@ -12,8 +12,7 @@ This section covers changes in the [application]*Anaconda* installer, including [[sect-installation-anaconda-general]] === General changes -* On Fedora Workstation, the default partitioning scheme has been changed to Btrfs. -//Link to https://pagure.io/fedora-docs/release-notes/issue/530 +* On Fedora Workstation, the default partitioning scheme has been changed to Btrfs. See xref:sysadmin/Distribution.adoc#btrfs-by-default[Distribution-wide Changes] for more information. * The installer now runs `zram-generator` instead of its own implementation of the ZRAM service. The `inst.zram` boot option is now deprecated. //Link to https://pagure.io/fedora-docs/release-notes/issue/515 * The graphical installer will now show a warning message if you input an invalid partition/volume/subvolume size in custom partitioning. From 8e9890c91cf309fc5aa7bf3d4182647da4978d1c Mon Sep 17 00:00:00 2001 From: Petr Bokoc Date: Oct 27 2020 14:23:40 +0000 Subject: [PATCH 3/3] Use Chris' draft --- diff --git a/modules/release-notes/pages/sysadmin/Distribution.adoc b/modules/release-notes/pages/sysadmin/Distribution.adoc index e6d9618..14bf63b 100644 --- a/modules/release-notes/pages/sysadmin/Distribution.adoc +++ b/modules/release-notes/pages/sysadmin/Distribution.adoc @@ -8,25 +8,42 @@ include::{partialsdir}/entities.adoc[] [[btrfs-by-default]] == Fedora Workstation now uses Btrfs by default -The default partitioning scheme for Fedora Workstation has been changed to Btrfs in Fedora 33. -This change aims to provide users a simpler way to deal with problems such as running out of space on root (`/`) or `/home`, and to add new storage capabilities to Fedora's desktop edition. +Btrfs is a native Linux copy-on-write file system. It provides advanced features including error detection, fault tolerance, recovery, transparent compression, cheap snapshots, integrated volume management, and easier administration. Btrfs will be the file system used for new desktop installations. -Some of the benefits of this change are: +=== Applies to -* Since the new partitioning scheme is "one big file system" and there are no "hard" barriers between subvolumes like there are between physical partitions or LVM volumes, you will no longer run out of space on `/` or `/home`. -* Transparent compression significantly reduces write amplification, improving lifespan of your storage hardware, especially solid state drives. -* Reflinks and snapshots are more efficient for use cases such as containers. (Podman supports both.) -* All data is checksummed and verified on every read, reducing error rate. Corrupt data results in an input/output error (EIO), which reduces application confusion and prevents corrupted data from being replicated into backups and archives. -* Btrfs improves desktop responsiveness under heavy load; it has been extensively tested in production for proper input/output isolation capability through cgroups2. -* Btrfs is significantly easier to resize, allowing for easier provisioning of an additional operating system as well as `systemd-homed` integration. -* Complex storage setups are now easier to administer due to Btrfs using one main command (`btrfs`). -* The boot process is simplified, all code is in the kernel. +* Fedora Workstation edition, and all Fedora desktop spins -Regardless of the new default settings, you can still use manual partitioning in the installer to change your partitioning settings if desired. Other editions (Fedora Server, IoT, CoreOS, Cloud) continue to use the old defaults. -As a consequence of release engineering complexities, the seldom marketed "Everything" netinstaller will use Btrfs by default. -It's advised that headless and PXE installation use cases should use the Fedora Server netinstaller. +=== Does not apply to -For detailed explanation of the changes and the rationale behind them, see the link:https://fedoraproject.org/wiki/Changes/BtrfsByDefault[Wiki page] and the link:https://fedoramagazine.org/btrfs-coming-to-fedora-33/[Fedora Magazine article]. The Installation Guide has also been updated to reflect the new defaults. +* Fedora Server, Cloud, IoT, or CoreOS. +* Upgrades of any Fedora edition or spin. + +=== What's changing + +* Use Btrfs instead of LVM+ext4. +* `/` and `/home` are no longer separate file systems, but are on "on big Btrfs file system". +* `/` and `/home` are on link:https://fedoraproject.org/wiki/Changes/BtrfsByDefault#Are_subvolumes_really_mostly_like_directories.3F[Btrfs subvolumes] and share the space on the Btrfs volume. + +=== Always-on features + +* Copy-on-write means data is never overwritten, and the file system stays consistent even in the case of power failures. +* Data integrity: Checksumming for all data and metadata ensures corruptions do not propagate. +* Efficient copies, also known as filing cloning or efficient copies. + +=== Opt-in features + +* link:https://lwn.net/Articles/579009/[Subvolumes and snapshots] (_See also_ `man btrfs subvolume`) +* Online scrub (_See also_ `man btrfs scrub`) + +=== And also... + +* It's still possible to choose other file system layouts in Custom partitioning, including the LVM+ext4 layout +* The "Everything" netinstaller will use Btrfs by default. It's advised that headless and PXE installation use cases should use the Fedora Server netinstaller +* link:https://fedoraproject.org/wiki/Btrfs[Fedora Btrfs landing page] +* link:https://fedoraproject.org/wiki/Changes/BtrfsByDefault[Change wiki page] +* link:https://fedoramagazine.org/btrfs-coming-to-fedora-33/[Fedora Magazine article] +* link:https://docs.fedoraproject.org/en-US/fedora/f33/install-guide/[The Installation Guide] == Fedora Workstation edition contains `thermald` by default