Skip to content

fix alpine data-volume issue #1170

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

Merged
merged 1 commit into from
Nov 17, 2022
Merged

fix alpine data-volume issue #1170

merged 1 commit into from
Nov 17, 2022

Conversation

balajiv113
Copy link
Member

@balajiv113 balajiv113 commented Nov 16, 2022

Fixes the issue mentioned here
lima-vm/alpine-lima#94

The reason is, 04-persistent-data-volume.sh bind the first available disk as data volume. Since cidata was first available and it was already mounted. the script was failing. Due to disk name mismatch (lsblk say vda for cidata, but /proc/mounts give disk/by-label/lima-cidata as name)

Keeping cidata as last disk similar to qemu fixes this issue.

Signed-off-by: Balaji Vijayakumar <[email protected]>
@AkihiroSuda AkihiroSuda added this to the v0.14 milestone Nov 16, 2022
Copy link
Contributor

@abiosoft abiosoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm that this fixes the issue.

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit d34e3ff into lima-vm:master Nov 17, 2022
@balajiv113 balajiv113 deleted the disk branch November 23, 2023 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants