Open gregory-lee-bartholomew opened 9 months ago
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