Chrismurphy (talk | contribs) |
Chrismurphy (talk | contribs) (update dependencies) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 15: | Line 15: | ||
== Current status == | == Current status == | ||
[[Category: | [[Category:ChangeAcceptedF36]] | ||
<!-- When your change proposal page is completed and ready for review and announcement --> | <!-- When your change proposal page is completed and ready for review and announcement --> | ||
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler --> | <!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler --> | ||
Line 33: | Line 33: | ||
ON_QA -> change is fully code complete | ON_QA -> change is fully code complete | ||
--> | --> | ||
* FESCo issue: | * [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/FPSS64EWBODIRCBYP5WAZ56FMROUPOFX/ devel thread] | ||
* Tracker bug: | * FESCo issue: [https://pagure.io/fesco/issue/2742 #2742] | ||
* Release notes tracker: | * Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2051550 #2051550] | ||
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/803 #803] | |||
== Detailed Description == | == Detailed Description == | ||
Line 43: | Line 44: | ||
The "var" subvolume will be located at the top-level of the Btrfs file system, along-side the "root" and "home" subvolumes. An entry in `/etc/fstab` will mount it at `/var` during startup. | The "var" subvolume will be located at the top-level of the Btrfs file system, along-side the "root" and "home" subvolumes. An entry in `/etc/fstab` will mount it at `/var` during startup. | ||
== Feedback == | == Feedback == | ||
<!-- Summarize the feedback from the community and address why you chose not to accept proposed alternatives. This section is optional for all change proposals but is strongly suggested. Incorporating feedback here as it is raised gives FESCo a clearer view of your proposal and leaves a good record for the future. If you get no feedback, that is useful to note in this section as well. For innovative or possibly controversial ideas, consider collecting feedback before you file the change proposal. --> | <!-- Summarize the feedback from the community and address why you chose not to accept proposed alternatives. This section is optional for all change proposals but is strongly suggested. Incorporating feedback here as it is raised gives FESCo a clearer view of your proposal and leaves a good record for the future. If you get no feedback, that is useful to note in this section as well. For innovative or possibly controversial ideas, consider collecting feedback before you file the change proposal. --> | ||
== Benefit to Fedora == | == Benefit to Fedora == | ||
Line 51: | Line 54: | ||
Users who opt into Btrfs features like snapshots and rollbacks. | Users who opt into Btrfs features like snapshots and rollbacks. | ||
* By moving /var into its own subvolume, it | * By moving /var into its own subvolume, it can be independently snapshot and rolled back from the "root" subvolume, which contains `/etc` and `/usr`. | ||
* The ability to snapshot "var" and use Btrfs send/receive to replicate only "var" permits for an efficient way of backing up the variable system data, similar to snapshotting "home" and replicating it as a way of backing up user data. | |||
* The ability to snapshot | ** A clean install will restore the "root", therefore it doesn't strictly need to be backed up. Meanwhile "var" and "home" can be restored using snapshot replication via send/receive, or a favorite backup utility. | ||
** A clean install | |||
== Scope == | == Scope == | ||
* Proposal owners: | * Proposal owners: | ||
** | ** change anaconda Silverblue and Kinoite profiles, such that automatic/guided installation creates a "var" subvolume mounted at /var. | ||
== Upgrade/compatibility impact == | == Upgrade/compatibility impact == | ||
Line 87: | Line 73: | ||
== How To Test == | == How To Test == | ||
* Do a clean installation and check `df` and `/etc/fstab` for an explicitly listed `/var` mount point. | * Do a clean installation and check `df` and `/etc/fstab` for an explicitly listed `/var` mount point. | ||
== User Experience == | == User Experience == | ||
* The change won't generally be noticeable to users | * The change won't generally be noticeable to users | ||
Line 124: | Line 85: | ||
== Dependencies == | == Dependencies == | ||
* Anaconda | * Anaconda | ||
== Contingency Plan == | == Contingency Plan == | ||
* Contingency deadline: beta freeze (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | * Contingency deadline: beta freeze (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES --> | ||
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? --> | <!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? --> | ||
Line 142: | Line 97: | ||
== Documentation == | == Documentation == | ||
No significant documentation is planned other than this change proposal. | No significant documentation is planned other than this change proposal. |
Latest revision as of 22:45, 9 February 2022
Silverblue and Kinoite will have /var on its own Btrfs subvolume
Summary
Silverblue and Kinoite: For new clean automatic (guided) installations, create a "var" subvolume to be mounted at /var.
Owner
- Name: Chris Murphy
- Email: bugzilla@colorremedies.com
Current status
- Targeted release: Fedora Linux 36
- Last updated: 2022-02-09
- devel thread
- FESCo issue: #2742
- Tracker bug: #2051550
- Release notes tracker: #803
Detailed Description
Currently, Silverblue and Kinoite mimic other Fedora desktops. There is a "root" subvolume mounted at /
and a "home" subvolume mounted at /home
.
This proposal adds a "var" subvolume to be mounted at /var
.
The "var" subvolume will be located at the top-level of the Btrfs file system, along-side the "root" and "home" subvolumes. An entry in /etc/fstab
will mount it at /var
during startup.
Feedback
Benefit to Fedora
Users who opt into Btrfs features like snapshots and rollbacks.
- By moving /var into its own subvolume, it can be independently snapshot and rolled back from the "root" subvolume, which contains
/etc
and/usr
. - The ability to snapshot "var" and use Btrfs send/receive to replicate only "var" permits for an efficient way of backing up the variable system data, similar to snapshotting "home" and replicating it as a way of backing up user data.
- A clean install will restore the "root", therefore it doesn't strictly need to be backed up. Meanwhile "var" and "home" can be restored using snapshot replication via send/receive, or a favorite backup utility.
Scope
- Proposal owners:
- change anaconda Silverblue and Kinoite profiles, such that automatic/guided installation creates a "var" subvolume mounted at /var.
Upgrade/compatibility impact
Change will not be applied to upgrades. But we can document steps to apply the change to existing installations.
How To Test
- Do a clean installation and check
df
and/etc/fstab
for an explicitly listed/var
mount point.
User Experience
- The change won't generally be noticeable to users
- Users will see an additional
/var
mount point in /etc/fstab, anddf
- Some utilities, notably backup programs like borg backup, and rsync with -x option, will treat Btrfs subvolumes as separate file systems and may not descend (recursively) into them.
Dependencies
- Anaconda
Contingency Plan
- Contingency deadline: beta freeze (not a System Wide Change)
- Blocks release? No
Documentation
No significant documentation is planned other than this change proposal.
N/A (not a System Wide Change)