RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1095866 - For Btrfs --fsoptions isn't honored during kickstart operations
Summary: For Btrfs --fsoptions isn't honored during kickstart operations
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-blivet
Version: 7.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: David Lehman
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-08 17:23 UTC by Dave Kil
Modified: 2021-09-03 14:08 UTC (History)
3 users (show)

Fixed In Version: python-blivet-0.61.0.5-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 14:06:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda.log (4.73 KB, text/x-log)
2014-05-12 16:53 UTC, Dave Kil
no flags Details
ifcfg.log (1.04 KB, text/x-log)
2014-05-12 16:53 UTC, Dave Kil
no flags Details
packaging.log (59.50 KB, text/x-log)
2014-05-12 16:54 UTC, Dave Kil
no flags Details
program.log (20.16 KB, text/x-log)
2014-05-12 16:54 UTC, Dave Kil
no flags Details
rpm -script.log (8.16 KB, text/x-log)
2014-05-12 16:54 UTC, Dave Kil
no flags Details
storage.log (76.35 KB, text/x-log)
2014-05-12 16:55 UTC, Dave Kil
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0313 0 normal SHIPPED_LIVE python-blivet bug fix and enhancement update 2015-03-05 17:35:49 UTC

Description Dave Kil 2014-05-08 17:23:05 UTC
Description of problem:
When using the "part" directive in a kickstart file, --fsoptions isn't honored when used for a Btrfs filesystem.

How reproducible:
Specify valid filesystem options for Btrfs in the kickstart file.

Steps to Reproduce:
Create a valid kickstart file.  For the section specifying the filesystem layout use:
part /boot --fstype="xfs" --size=200 --fsoptions="noatime,discard"
part btrfs.01 --grow --fsoptions="noatime,compress=lzo,autodefrag,discard"
btrfs none --label=rhel --data=single btrfs.01
btrfs / --subvol --name=root rhel

Actual results:
After installation, checkout the resulting fstab file.  The fsoptions will have correctly propagated to the xfs partition but not the Btrfs one.

Expected results:
Anaconda should honor these additional options for Btrfs.  **BONUS**  Provide a way to specify then through the GUI during a non-kickstart installation.

Additional info:
As a workaround, I've been able to do the following with my ks file:
%post
# Fixup btrfs (shouldn't have to do this)
sed -i 's/subvol=/noatime,compress=lzo,autodefrag,discard,subvol=/g' /etc/fstab
mount -o remount /
btrfs filesystem defrag -r -clzo /
%end

There seems to be a similar bug for Fedora 20.  I'm not sure if that classifies this as redundant.  I wanted to make sure this was on the RHEL team's radar.

Comment 2 Brian Lane 2014-05-10 00:29:22 UTC
Please attach the logs from /tmp/*log as individual text/plain attachments, especially the storage.log

Comment 3 Dave Kil 2014-05-12 16:53:08 UTC
Created attachment 894813 [details]
anaconda.log

Comment 4 Dave Kil 2014-05-12 16:53:38 UTC
Created attachment 894814 [details]
ifcfg.log

Comment 5 Dave Kil 2014-05-12 16:54:04 UTC
Created attachment 894815 [details]
packaging.log

Comment 6 Dave Kil 2014-05-12 16:54:28 UTC
Created attachment 894816 [details]
program.log

Comment 7 Dave Kil 2014-05-12 16:54:48 UTC
Created attachment 894817 [details]
rpm -script.log

Comment 8 Dave Kil 2014-05-12 16:55:05 UTC
Created attachment 894818 [details]
storage.log

Comment 16 errata-xmlrpc 2015-03-05 14:06:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0313.html


Note You need to log in before you can comment on or make changes to this bug.