Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6601

General discussion • Re: inexplicable Disk Space Usage of /dev/mmcblk0p2

$
0
0
This is a guess but one based on knowledge and experience: it's in /media/devmon/Elements. Unmount the drive and look at that directory's contents.

If you've written to that directory without the drive mounted you will have written to the SD card instead. These files/directories will be masked when the USB drive is mounted.

You'll aslo find that the command ncdu -x / help locate where your disc space has gone - it's a text mode filesystem tree viewer that shows how much space is use din each directory. -x keeps it to scanning only the root partition and not your external drive.

I'm not sure if it's part of the default OS but it canbe installed via:

Code:

sudo apt update && sudo apt install -y ncdu
This is what I have when I try to browse on this directory:

Code:

root@raspberrypi:/media/devmon# cd Elementsbash: cd: Elements: Transport endpoint is not connected
And this is ncdu -x
Image

Statistics: Posted by scafajj — Wed Jan 17, 2024 1:53 pm



Viewing all articles
Browse latest Browse all 6601

Trending Articles