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

man page for fstab configuration #3302

Open
768kb opened this issue Apr 1, 2023 · 4 comments
Open

man page for fstab configuration #3302

768kb opened this issue Apr 1, 2023 · 4 comments
Assignees

Comments

@768kb
Copy link

768kb commented Apr 1, 2023

To have stratis volumes mounted after system start, on RHEL I need to configure my mounts as follot:

UUID=xxx  /mymount  defaults,x-systemd.requires=stratisd.service  0 0

If I'm right, there's no hint anywhere in a manpage that helps to configure /etc/fstab this way. Where can I add this?

@768kb
Copy link
Author

768kb commented Apr 1, 2023

For those who don't know: without this line, system startup will hang during mount:

[ ***  ] A start job is running for /dev/dis...8bd0-c677b2bf0e23 (58s / 1min 30s )

@jbaublitz
Copy link
Member

This is actually not entirely correct. This works for unencrypted pools but will not work for encrypted pools. Please see our blog post about setting up Stratis pools in /etc/fstab:

https://stratis-storage.github.io/stratis-rootfs/

@768kb
Copy link
Author

768kb commented Apr 3, 2023

Thank you for bringing this to my attention, good to know. But still, there's no hint in any man page about setting up fstab. As I've seen, @mulkieran added this to a todo list - does this mean it will be added?

@jbaublitz
Copy link
Member

@768kb I'll ask, but one thing to consider is that we aim to have our manpage contain information relevant to any distro that it's run on. The setup for /etc/fstab in that blog post is systemd specific. While there are very few distros that don't use systemd, I at least would be a little bit hesitant to add something systemd specific to our manpages. What other documentation sources did you check prior to filing this issue? Perhaps there's a better place to put this information that would have still provided you with the answer prior to having to ask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants