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

Add support for booting from file-backed disk #12

Open
struanb opened this issue Nov 17, 2023 · 1 comment
Open

Add support for booting from file-backed disk #12

struanb opened this issue Nov 17, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@struanb
Copy link
Contributor

struanb commented Nov 17, 2023

Currently RunCVM boots from a virtiofs-mounted root filesystems, which is highly flexible and space-efficient and reasonably performant, but not as performant as a file-backed disk.

RunCVM supports mounting file-backed disks but not for the root filesystem.

If feasible, provide an option to enable this.

@struanb struanb self-assigned this Nov 17, 2023
@struanb struanb added the enhancement New feature or request label Nov 17, 2023
@struanb
Copy link
Contributor Author

struanb commented Apr 10, 2024

Worth noting that the latest RUNCVM_DISKS environment variable behaviour, which mounts a file-backed virtual disk populated with any pre-existing image contents at almost any desired filesystem location (except, currently, /) will provide much better VM disk performance in a range of scenarios where these can be effectively used.

For example, if the booted system is itself primarily running applications within Docker, mounting a single virtual disk at /var/lib/docker should be sufficient to deliver high disk performance.

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

No branches or pull requests

1 participant