Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

Unknown process keeps filling available storage on WSL Ubuntu 20.04.6

$
0
0

So I am running Ubuntu 20.04.6 through WSL and I am running into some strange behavior where the main storage disk mounted to / keeps getting filled up by something.

If I run df -h, among other entries I have:

/dev/sde                                  251G  245G     0 100% /

To try and clear things up I ran the command:

du -h --exclude=/mnt/c --exclude=/mnt/i --exclude=/mnt/wsl --exclude=/mnt/e --exclude=/mnt/r / 2>/dev/null | grep '[0-9\.]\+G'

And that did indeed identify some large folders which I didn't need anymore and therefore deleted (maybe like ~150GB worth). One peculiar file that was taking up 100GB or so, was a file named '*' and '*-temp' sitting in the .git/hooks folder. I deleted both of them, but not sure what that was all about.

I went back to work, only to find VS code complaining that it couldn't save files again due to lack of storage. And sure enough, df -h once again shows 100% usage on / .

I tried installing a tool like fatrace to look for processes writing to disk but there doesn't seem to be any actually writing to a file.

Additionally, after running the command (same as above again),

du -h --exclude=/mnt/c --exclude=/mnt/i --exclude=/mnt/wsl --exclude=/mnt/e --exclude=/mnt/r / 2>/dev/null | grep '[0-9\.]\+G'

I get:

61G     /

despite df -h reporting that /dev/sde is at 100% usage while mounted at /.


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>