Bug 969648
Summary: | fedup to F19 fails due to read-only root if "data=writeback" in mount opts | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Keegan <dksw.daithi> |
Component: | fedup-dracut | Assignee: | Will Woods <wwoods> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | jglotzer, jh.redhat-2018, matt, s2, tflink, urban.widmark, wwoods |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-17 15:24:55 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
David Keegan
2013-06-01 12:41:33 UTC
Same problem here. I solved this by replacing this entry in my /etc/fstab: UUID=6b694b71-bc0d-4290-a3cf-2c561a281ab1 / ext4 relatime,journal_async_commit,delalloc,auto_da_alloc,discard,data=writeback 1 1 with this simple one: /dev/sda1 / ext4 defaults 1 1 I don't know if it was because of the UUID instead of the device or the excessive options, though. If this doesn't help, you could try to hack your /usr/lib/systemd/upgrade-prep.sh by insert a "mount -o remount,rw /" before the line running new-kernel-pkg, this is really ugly though. I can confirm the same issue, although I have UEFI disabled. Fedup from 17 to 18 = worked fine To update to 19 I had to change my /etc/fstab from: /dev/mapper/vg_bullet-lv_root / ext4 defaults,discard,noatime,nodiratime,barrier=0,data=writeback 1 1 to: /dev/mapper/vg_bullet-lv_root / ext4 defaults 1 1 x86_64 Same here. I had: UUID=..... / ext4 noatime,data=writeback,acl,user_xattr 1 1 ..and changing to.. /dev/sda3 / ext4 defaults 1 1 ..fixed it. The issue is data=writeback, the rest of the options work fine. It's also the only option you all have in common. What happens if you add "data=writeback" back to your fstab after the upgrade? Does your root device end up being read-only again? data=writeback in the fstab causes problems in F19, with root being left mounted read only. The error is because ext4 refuses to remount with different 'data' mount option. So something is mounting it without the data option in F19. This can be verified by looking at the /proc/mounts listing. This is as I understand it not a new thing with ext4 (google finds errors going back several years). No idea why it worked in F18, maybe the fstab entry is used somewhere else (initramfs?) or maybe F18 had some kernel patch to allow it. I did not have any mount options listed in my grub.cfg kernel command line. This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |