How to free up and automatically manage disk space for WSL
freecodecamp.org
How to free up and automatically manage disk space for WSL
1–10 of 55 posts
Re: How to free up and automatically manage disk space for WSL
#2It's a shame you can't just turn on live TRIM support.
This kind of disk image is a bunch of multi-megabyte blocks of data, plus a list of where each block goes on the virtual disk. Implementations can support TRIM by deleting the block that's zeroed and moving the block at the end of the file into that spot. VirtualBox can do this, shrinking the file when the guest OS TRIMs, but Hyper-V can't.
Re: How to free up and automatically manage disk space for WSL
#3I used to think a windows laptop would be better for hardware management, maybe it is but I just gave up and installed Linux. My life is so much easier.
Re: How to free up and automatically manage disk space for WSL
#4I'm done with WSL. It just makes life too hard, dual disk is a problem, two network endpoints two firewalls, two different hypervisors you can choose from where some things expect one some the other. I used to think a windows laptop would be better for hardware management, maybe it is but I just gave up and installed Linux. My life is so much easier.
Re: How to free up and automatically manage disk space for WSL
#5I'm done with WSL. It just makes life too hard, dual disk is a problem, two network endpoints two firewalls, two different hypervisors you can choose from where some things expect one some the other. I used to think a windows laptop would be better for hardware management, maybe it is but I just gave up and installed Linux. My life is so much easier.
Wish there was a good option in corporate environments where I can’t just install Linux.
Re: How to free up and automatically manage disk space for WSL
#6Earlier quoted context omitted.
Wish there was a good option in corporate environments where I can’t just install Linux.
At work I asked for a remote server and my pc is just a terminal to use ssh & xwindows.
It's pretty miserable in terms of latency and window management. If you can get this to work well with NX or X forwarding, that's cool, but it's a second class offering when that's your only option.
Re: How to free up and automatically manage disk space for WSL
#7I think Optimize-VHD will do the same thing as messing with diskpart. It's a shame you can't just turn on live TRIM support. This kind of disk image is a bunch of multi-megabyte blocks of data, plus a list of where each block goes on the virtual disk. Implementations can support TRIM by deleting the block that's zeroed and moving the block at the end of the file into that spot. VirtualBox can do this, shrinking the f…
Re: How to free up and automatically manage disk space for WSL
#8Earlier quoted context omitted.
At work I asked for a remote server and my pc is just a terminal to use ssh & xwindows.
I have something like that at work for testing Windows things, since my work machine is a Mac. It's pretty miserable in terms of latency and window management. If you can get this to work well with NX or X forwarding, that's cool, but it's a second class offering when that's your only option.
Re: How to free up and automatically manage disk space for WSL
#9I'm done with WSL. It just makes life too hard, dual disk is a problem, two network endpoints two firewalls, two different hypervisors you can choose from where some things expect one some the other. I used to think a windows laptop would be better for hardware management, maybe it is but I just gave up and installed Linux. My life is so much easier.