-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading from QubesOS 4.x doesn't result in the same end user configuration (discards and tpool) #5643
Comments
Note: upcoming changes in installer will seperate dom0 thin pool from main pool. |
@fepitre created a tool for R4.0 -> R4.1 upgrade, which also take care of those differences: https://github.com/fepitre/qubes-migration |
Not yet, but it will be there: #5685 |
@marmarek : last time I checked, discards were not pushed under lvm.conf file still under 4.1 even if QubesOS/openqa-tests-qubesos@2f49b75 was pushed as default? (Linked to #3686) |
Discards in lvm.conf don't matter for thin volumes (they affect only non-thin volumes, which we don't use). I'm not sure if that is an LVM bug, or intended behavior (likely the latter). We do |
|
Personally I'd like the global state of whether issues are flowed down to the hardware/storage device to be exposured in Qubes Global Settings. This will allow the end user to make the determination of which is more important to them: a) recovery of data OR b) device performance and opportunistic anti-forensics. Flowing discards to lowest layers require both lvm.conf to be correct as well as the luks config. B |
Let me repeat: |
I will follow your guidance, @marmarek. |
This issue is being closed because:
If anyone believes that this issue should be reopened and reassigned to an active milestone, please leave a brief comment. |
Qubes OS version
Qubes 4.+. Behavior is different for users across RC and actual 4.0.3 release.
Affected component(s) or functionality
lvm discards are setuped differently from anaconda changes between RC and 4.0.3 release
tpool metadata size is different, latest release fixes probable tpool fillup
Brief summary
This can happen.
To Reproduce
Compare tpool size between earlier 4.x and actual 4.0.3 version from anaconda/blivet deployed defaults. Safe values are only deployed at new installation
Expected behavior
Have the same behavior as stated in upgrade guide or have a warning in there on the upgrade guide saying that the result from upgrading has risks and document anaconda changes and needed actions.
Have disk space widget prevent the tool metadata filled up situation.
False:
If you installed Qubes 4.0, 4.0.1, 4.0.2, or 4.0.3-rc1 and have fully updated, then your system is already equivalent to a Qubes 4.0.3 installation. No further action is required.
SRCThe point being: further actions are required
Actual behavior
tpool might fill up
discards configurations are different across RC revisions (ex: root fs (dom0) discards) resulting in different user faced problems depending of the 4.x version they installed from, prior to upgrading to latest versions from packages, those configurations not being patched (LVM discard, dom0 pools discard, tpool metadata size doubled).
Solutions you've tried
Workaround is to reduce 8gb swap and expend tpool
Relevant documentation you've consulted
can't find tpool metadata size change commits. Change is in blivetThe text was updated successfully, but these errors were encountered: