Open
Description
Can you please add the disk usage for the distros and also the ability to reclaim the disk space ?
Here is what i do to reclaim it :
- wsl disk usage:
df -h
look on the right column 'Mounted on,' ordf -h /mnt/wslg/distro
- Reclaim disk space :
- it requires docker Dashboard for WSL2, and 2 hyper V params in the Control Panel.
- Install this https://superuser.com/a/1307442/769637 install the Hyper-V Platform | Hyper-V Services part, too + restart)
- in Administrator Mode:
wsl --shutdown
thencd 'C:\Users\%UserProfile%\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc\LocalState'
thenoptimize-vhd -Path .\ext4.vhdx -Mode full
- for more information, check this: these https://askubuntu.com/a/1380274 + WSL 2 should automatically release disk space back to the host OS microsoft/WSL#4699 +ttps://askubuntu.com/a/1380274 + WSL 2 should automatically release disk space back to the host OS microsoft/WSL#4699 +
Metadata
Metadata
Assignees
Labels
No labels