Whole system shut down when starting colima
viktorashi opened this issue · comments
Description
Recently i've had issue #502 and solved it via this marvelous thing but while starting back up this time it started taking up the whole default 60Gib of space on my laptop, I watched in horror as my System Settings > Storage free space was rapidly approaching 0 before my whole machine froze to a halt and had to restart it. It all went back to normal and did one more colima delete
just to make sure I never see it again.
I've seen you can set defaults on startup like colima start --cpu 1 --memory 2 --disk 10
but I Don't remember it taking up that much space before, or even populating its reserved space before it would be filled up by containers. Like is there a way to make it so that it just populates the space as it's being used instead of all at once? (i'm starting to realise that doesn't make a lot of sense but I ain't deleting nothing)
Version
colima version 0.6.8
git commit: 9b0809d
limactl version 0.21.0
qemu-img version 8.2.2
Operating System
- macOS Intel <= 13 (Ventura)
- macOS Intel >= 14 (Sonoma)
- Apple Silicon <= 13 (Ventura)
- Apple Silicon >= 14 (Sonoma)
- Linux
Output of colima status
too scared to start it up again to see (it's off idk)
Reproduction Steps
- colima start
- scream
- restart mac
- rinse, repeat
Expected behaviour
to not do that
Additional context
No response
The freezes and crashes have been narrowed down to disk-image expansion process at startup when VZ is used.
Disk image download and expansion has been reworked and the issue should now be resolved (with or without VZ being used).
Can you try the latest development version of Colima and see if the issue is now resolved.
# install development version
brew install --head colima
# remove existing profile if any
colima delete
# start colima
colima start
I will when I get my Mac back this weekend, thanks a ton!