Bug 912848 - RFE: dmsquash-live: Support variable temporary overlay size
Summary: RFE: dmsquash-live: Support variable temporary overlay size
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-19 20:22 UTC by fedora.dm0
Modified: 2015-10-02 19:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-02 19:30:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Add an option to adjust the RAM-based overlay size (1.11 KB, text/plain)
2013-02-19 20:22 UTC, fedora.dm0
no flags Details

Description fedora.dm0 2013-02-19 20:22:24 UTC
Created attachment 699618 [details]
Add an option to adjust the RAM-based overlay size

This is a request to allow users to adjust the size of the temporary (RAM-based) overlay for live CDs.  It is currently hard-coded to provide 512MB of writable space.

Use case:

I will often simply boot a stock live CD of various Fedora releases to quickly test software builds for compatibility.  (It gives a consistent environment each time with a typical package set, and the ISOs are easy to locate.)  However, a while after each release, package updates start to accumulate.  Retrieving a devel RPM can easily cause an avalanche of updates/dependencies to fill the available 512MB, between the yum cache and installed files.  The rest of my workstation's 16GB of RAM can only sit and watch as I/O errors fill the screen.

So the attached patch is an example of something I had in mind: a boot argument for specifying the overlay size in MB (which defaults to the existing behavior).

I would be happy to accept other recommended solutions as well, like maybe an option to copy the ext4 filesystem into RAM (instead of squashfs) and then drop the overlay all together.

Comment 1 Frederick Grose 2015-09-26 21:53:29 UTC
This was implemented in commit,
http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=18423f7951de7b9cb4007438b58b6067aa6f2e93

Comment 2 fedora.dm0 2015-10-02 19:30:12 UTC
It seems to work since that commit.  Thanks, I'll close the bug.


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