Bug 1203875

Summary: RFE: create usr mount point automatically on Btrfs and LVM thin partition schemes
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-24 23:52:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Murphy 2015-03-19 20:16:11 UTC
Description of problem:

Context is Manual Partitioning > "Click here to create them automatically"; for both Btrfs and LVM Thin Provisioning partitioning schemes.

Currently root mount point combines /var, /etc, /usr. This lacks sufficient granularity for snapshot and rollback. A rollback of root forces discontinuity in system settings and especially the journal and logs which probably should never be rolled back.

By splitting out usr, it can be deployed, snapshot/rolled back independently of var and etc. It's also useful for improving statelessness of systems to enable "refresh" and "reset" type operations; and for read-only usr.


Version-Release number of selected component (if applicable):
anaconda-22.20.4


How reproducible:
Always


Additional info:

- The suggested enhancement applies Btrfs and LVM thin partition schemes. The main (only?) disadvantage applying it to other schemes is some wasted space.

- yum, dnf and systemd-offline updates (via GNOME Software) succeed with this configuration; tested on F21 and F22.

- fedup upgrades need more testing once other bugs are fixed
https://bugzilla.redhat.com/show_bug.cgi?id=1185604
https://bugzilla.redhat.com/show_bug.cgi?id=1185726

- Will post this bug on the ostree list.

Comment 1 Colin Walters 2015-03-19 20:42:02 UTC
This isn't useful to do for an ostree-based install, but no objections from me to supporting it for BTRFS.

I'd say LVM-thin is a separate discussion though, because making /usr a separate volume is a major change for the admin experience from non-thin LVM.  (Whereas we know btrfs is a major change regardless, so defaulting to /usr subvolume there, eh...it's just another change).

Comment 2 Brian Lane 2015-03-24 23:52:11 UTC
Users are free to create the layouts they need, doing so automatically could lead to confusion. Use custom or kickstart to create the layout you want.