I have a Pi 4 with a 32GB SD card loaded as the root disk space. Recently I've been getting disk space full errors and decided to check with df to see that the root disk is indeed completely full.
pi@rpi:/ $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 28G 27G 0 100% / devtmpfs 775M 0 775M 0% /dev tmpfs 936M 0 936M 0% /dev/shm tmpfs 936M 98M 839M 11% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 936M 0 936M 0% /sys/fs/cgroup /dev/sda1 253M 50M 203M 20% /boot /dev/sdb1 1.8T 821G 919G 48% /mnt/disk1-toshiba-2tb tmpfs 188M 0 188M 0% /run/user/1000 So in an attempt to free up some space I decided to check my disk usage with ncdu and du but when counting the used space per folder it doesn't add up to the 27G used:
820.6 GiB [######### ] /mnt 4.4 GiB [ ] /var 2.1 GiB [ ] /home 2.0 GiB [ ] /usr 100.3 MiB [ ] /opt 97.4 MiB [ ] /run 49.3 MiB [ ] /boot 6.9 MiB [ ] /etc 3.0 MiB [ ] /root 40.0 KiB [ ] /tmp e 16.0 KiB [ ] /lost+found e 4.0 KiB [ ] /srv e 4.0 KiB [ ] /media 0.0 B [ ] /sys . 0.0 B [ ] /proc 0.0 B [ ] /dev @ 0.0 B [ ] sbin @ 0.0 B [ ] lib @ 0.0 B [ ] bin I'm counting the largest dirs (4,4+2,1+2) which would only accumulate to 8,5 GB used. Why would my disk space be full and report 27G used even when the total in folders is only 8.5GB?
There are no other folders in /mnt aside from the external HDD disk mount from /dev/sdb1
submitted by /u/thibmaek
[link] [comments]
More...
RPi is reporting a full disk, but counting the total folder disk size doesn't add up
The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.
Post Reply
1 post
• Page 1 of 1
- /RaspberryPi
- Corporate
- Posts: 2449
- Joined: Wed Jun 05, 2019 1:29 am
Post Reply
1 post
• Page 1 of 1
Return to “Raspberry Pi Forum”
Jump to
- From Retro to Current
- ↳ Classified Ads
- ↳ Community
- ↳ Marketplace
- ↳ Jobs
- ↳ Dating
- ↳ Housing
- Nintendo Forums
- ↳ SNES Classic Edition Forum
- ↳ Switch Forum
- ↳ NES Classic Edition Forum
- ↳ Wii U Forum
- ↳ 3DS Forum
- ↳ Wii Forum
- ↳ DS Forum
- ↳ Gamecube Forum
- ↳ Game Boy Advance Forum
- ↳ Game Boy Color Forum
- ↳ Nintendo 64 Forum
- ↳ Super Nintendo Forum
- ↳ Game Boy Forum
- ↳ Nintendo Entertainment System Forum
- ↳ Game & Watch Forum
- SONY Forums
- ↳ PlayStation 5 Forum
- ↳ PlayStation Classic Forum
- ↳ PlayStation 4 Forum
- ↳ PlayStation Vita Forum
- ↳ PlayStation 3 Forum
- ↳ PlayStation Portable Forum
- ↳ PlayStation 2 Forum
- ↳ PlayStation 1 Forum
- Microsoft Forums
- ↳ Xbox Series Forum
- ↳ Xbox One Forum
- ↳ Xbox 360 Forum
- ↳ Xbox Forum
- SEGA Forums
- ↳ Genesis Mini Forum
- ↳ Dreamcast Forums
- ↳ Sega Saturn Forum
- ↳ Genesis Forum
- ↳ Master System Forum
- Other System Forums
- ↳ General Discussion
- ↳ Other Console Forum
- ↳ Arcade Cabinet Forum
- ↳ Windows, Mac, & Linux Forum
- ↳ Atomiswave Forums
- ↳ WWW.ATOMISWAVE.NET
- ↳ General Discussion
- ↳ Tech Support
- ↳ System Setups
- ↳ Modified Moderboards
- ↳ Home Consoles & Systems
- ↳ Arcade & Candy Cabinets
- ↳ Marketplace
- ↳ Video Game Marketplace
- ↳ Game Discussion
- ↳ Video Game Catalogs
- ↳ FAQs, Reviews, & Guides
- ↳ Assorted Discussion
- ↳ Custom Ideas
- ↳ Open Discussion
- ↳ SNK Neo Geo Forums
- ↳ General Discussion
- ↳ Buying & Selling
- ↳ Tech Support
- ↳ Systems
- ↳ Neo Geo Arcade Stick Pro Forum
- ↳ Neo Geo Mini Forum
- ↳ Neo Geo X Forum
- ↳ Neo Geo CD Forum
- ↳ Neo Geo MVS Forum
- ↳ TurboGrafx-16 Forums
- ↳ General Discussion
- ↳ Marketplace
- ↳ Magazine Scans
- ↳ Games
- ↳ TurboChip/HuCard Forum
- ↳ CD-ROM²/Super CD-ROM²/Arcade CD-ROM² Forum
- ↳ Systems
- ↳ TurboGrafx-16 Mini Forum
- ↳ TurboDuo Forum
- ↳ TurboExpress/PC Engine GT/LT Forum
- ↳ SuperGrafx Forum
- ↳ TurboGrafx-CD/PC Engine CD Forum
- ↳ TurboGrafx-16/PC Engine Core Forum
- ↳ Raspberry Pi Forum
- ↳ Atari Forum