-
Notifications
You must be signed in to change notification settings - Fork 400
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
fix(dmsquash-live): use the overlay size with thin provisioning #2604
base: master
Are you sure you want to change the base?
fix(dmsquash-live): use the overlay size with thin provisioning #2604
Conversation
Using the overlay size in the device mapper table allows the filesystem in the base image to be extended if the overlay is larger than the base image (e.g. `resize2fs /dev/mapper/live-rw`).
CC @FGrose |
This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions. |
Thanks @Conan-Kudo. I'll close this MR since the change has been merged in another MR. 🙂 |
I think I may have closed this prematurely. I see now that what was merged earlier was to "dracut-ng", not "dracut". I'll reopen this against "dracut" and I'll fix the commit message to be consistent with the one that was merged earlier. Sorry about the confusion. |
Using the overlay size in the device mapper table allows the filesystem in the base image to be extended at runtime if the overlay is larger than the base image (i.e. this makes
resize2fs /dev/mapper/live-rw
work whenrd.live.overlay.thin
is used).This pull request changes...
Changes
This patch changes the upper-bound of the
live-rw
device when the user requests to create a thin-provisioned overlay by specifying therd.live.overlay.thin
kernel parameter. The size of the overlay (typically 32GiB, but it can be specified by the user with a kernel parameter) is used rather than the size of the base image.Checklist
Fixes #
Users of Fedora Linux have been reporting this bug here: https://discussion.fedoraproject.org/t/fedora-liveos-root-system-and-available-ram/82531/1