-
Notifications
You must be signed in to change notification settings - Fork 121
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
Fix the filesystem corruption on Linux VMs #675
Fix the filesystem corruption on Linux VMs #675
Conversation
Hello Andrew 👋 Thanks for spotting the issue and providing a fix! I've looked at the links you've provided, and it seems that the lima project got this fixed by just forcing the cached mode for the VirtIO disk. It also looks like the NVMe device is actually slower than the VirtIO device, and glancing at the 172-page spec of NVM Express it should be more complex too (compare this to 16-pages of the VirtIO specification for block devices). What do you think about skipping the NVMe part for now? |
I think it's not just enough.
What about the decreased performance of NVMe, I think we should choose stability over speed. |
ddb97cf
to
8701de7
Compare
From my testing, and other users of UTM, |
Working on Linux virtual machine for a long-time causes to disk corruption:
Same issues in another projects:
These changes:
.cached