-
Notifications
You must be signed in to change notification settings - Fork 596
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
Lost files on host when canceling limactl start #2221
Comments
This also happened twice today for @mook-as: all files in the This was during Rancher Desktop testing and did not involve canceling |
Which version of Lima, QEMU, virtiofsd, host kernel, guest kernel, etc. ? Is this a recent regression? Does this happen with an older release of Lima, etc.? |
@dj-documentation Do you still remember which version of Lima and macOS you were using? Was it |
We haven't merged this into Lima master yet |
Tried to follow this, but I couldn't repro the issue. Package versions
Lima: 0.20.1-59-gbbd1d80 YAML: images:
- location: "https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-amd64.img"
mounts:
- location: "~"
writable: true
mountType: "virtiofs"
memory: 1GiB
cpuType:
x86_64: "Haswell-v4" Host filesystem: btrfs |
@dj-documentation How does your host home directory look like? ref |
The host directory doesn't really matter; it depends on the mount point. In @dj-documentation's example it was mounts:
- location: "~/Files"
mountPoint: "/Files"
writable: true The current theory would not explain why that would get moved/wiped. Only mount points at the following locations, or possibly subdirectories thereof would be affected:
@dj-documentation is it possible that your mount point inside the VM was under one of these locations? |
Description
Canceling
limactl start debug
deleted files that were mounted from the host.I don't have the exact config anymore but it was similar to this. The mounted ~/Files directory was deleted.
The text was updated successfully, but these errors were encountered: