white-jackal-11618
11/28/2024, 10:17 AMdocker volume prune
, which freed up about 400GB of space.
The command returns the following:
wsl.exe --system -d rancher-desktop df -h /mnt/wslg/distro
Filesystem Size Used Avail Use% Mounted on
/dev/sde 1007G 157G 799G 17% /mnt/wslg/distro
However, C:\...\AppData\Local\rancher-desktop\distro-data\ext4
still takes up around 400GB more space.
In summary, after removing the volumes, Windows didn't recover the space, which is now causing me to run out of space on the Windows system itself.
Is there a "proper" way to refresh/recover the occupied space without having to reinstall Rancher Desktop, and in a safe way that won't damage the remaining images I'm still using?
Thank you for your help, and I sorry if I'm bringing this issue up again, but I need to do this safely without destroying other data.wide-mechanic-33041
12/02/2024, 12:38 PMdiskpart
https://stephenreescarter.net/how-to-shrink-a-wsl2-virtual-disk/