Skip to content
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

dracut.cmdline(7): document overlay persistence requirements #579

Closed
opk12 opened this issue Jun 7, 2019 · 10 comments · Fixed by dracut-ng/dracut-ng#51
Closed

dracut.cmdline(7): document overlay persistence requirements #579

opk12 opened this issue Jun 7, 2019 · 10 comments · Fixed by dracut-ng/dracut-ng#51
Assignees
Labels
dmsquash-live Issues related to the dmsquash-live module enhancement Issue adding new functionality

Comments

@opk12
Copy link

opk12 commented Jun 7, 2019

do_live_overlay() in dmsquash-live-root.sh makes assumptions about persistence command-line arguments:

  • rd.live.overlay's pathspec must start with /

because devspec is mounted on /run/initramfs/overlayfs and pathspec is expanded as /run/initramfs/overlayfs$pathspec. source

  • the overlay image must contain directories named overlayfs and ovlwork

source

@ytrezq
Copy link

ytrezq commented Sep 24, 2019

@opk12 : this is something I’m failing to understand.

What’s the directory structure for using persistant overlay alongside overlayfs ? Which device is mounted on /run/overlayfs

@FGrose
Copy link
Contributor

FGrose commented Mar 7, 2020

/run/overlayfs is a symbolic link to /run/initramfs/overlayfs/overlayfs
and /run/ovlwork is a symbolic link to /run/initramfs/overlayfs/ovlwork

See

ln -s /run/initramfs/overlayfs/overlayfs /run/overlayfs$opt

@johannbg johannbg added the stale communication is stuck label Aug 25, 2020
@johannbg
Copy link
Collaborator

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.

@johannbg johannbg closed this as completed Sep 1, 2020
@ytrezq
Copy link

ytrezq commented Sep 1, 2020

@johannbg of course, this documentation problem should be solved. But I m not having much to add.

@opk12
Copy link
Author

opk12 commented Sep 16, 2020

Could you please reopen, as the feature is unusable without knowledge of ovlwork and the fix is a couple words?

@johannbg johannbg reopened this Sep 16, 2020
@johannbg johannbg added bug Our bugs and removed stale communication is stuck labels Sep 16, 2020
@rustydb
Copy link

rustydb commented Nov 3, 2020

Definitely could use some documentation, I've been in a rabbit hole with this for some time. I make the overlay file, mount it, make the two directories... but I see blocks of logic that seem like i should make a directory instead of an overlay file.
Just some comments at a base level to tell which if block matters for which part of the doc would be amazing... Not trying to make a huge ask.

@stale
Copy link

stale bot commented Dec 16, 2020

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.

@stale stale bot added the stale communication is stuck label Dec 16, 2020
@opk12
Copy link
Author

opk12 commented Dec 22, 2020

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.

@stale stale bot removed the stale communication is stuck label Dec 22, 2020
@stale
Copy link

stale bot commented Jan 21, 2021

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.

@stale stale bot added the stale communication is stuck label Jan 21, 2021
@johannbg
Copy link
Collaborator

.

@stale stale bot removed the stale communication is stuck label Jan 21, 2021
@LaszloGombos LaszloGombos added enhancement Issue adding new functionality and removed bug Our bugs labels Oct 25, 2022
@LaszloGombos LaszloGombos self-assigned this Oct 25, 2022
@LaszloGombos LaszloGombos added the dmsquash-live Issues related to the dmsquash-live module label Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dmsquash-live Issues related to the dmsquash-live module enhancement Issue adding new functionality
Projects
None yet
6 participants