You are not logged in.

#1 2012-09-15 19:02:34

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

[Solved] Full hard drive - Phantom home folder

Hi all,

Today I've been through a series of events that has led me to realise that my hard drive (supposedly) completely full. While this might not be difficult (my hard drive isn't the biggest) the odd thing is how the supposed size doesn't seem to be picked up. I did some googling and discovered the 'du' command.

Firstly I ran it on the root directory, and got this in return.

sudo du -sh /*
3.2M    /bin
48M     /boot
8.8M    /dev
12M     /etc
127G    /home
12M     /initramfs-linux-fallback.img
2.8M    /initramfs-linux.img
0       /lib
0       /lib64
16K     /lost+found
8.0K    /media
0       /missing.xml
8.0K    /mnt
1.5G    /opt
4.0K    /packages
du: cannot access ‘/proc/1657/task/1657/ns/net’: No such file or directory
du: cannot access ‘/proc/1657/task/1657/ns/uts’: No such file or directory
du: cannot access ‘/proc/1657/task/1657/ns/ipc’: No such file or directory
du: cannot access ‘/proc/1657/ns/net’: No such file or directory
du: cannot access ‘/proc/1657/ns/uts’: No such file or directory
du: cannot access ‘/proc/1657/ns/ipc’: No such file or directory
du: cannot access ‘/proc/2523/task/2523/fd/4’: No such file or directory
du: cannot access ‘/proc/2523/task/2523/fdinfo/4’: No such file or directory
du: cannot access ‘/proc/2523/fd/4’: No such file or directory
du: cannot access ‘/proc/2523/fdinfo/4’: No such file or directory
0       /proc
6.3M    /rmlint.log
4.1M    /rmlint.sh
27M     /root
2.5M    /run
9.4M    /sbin
20K     /srv
0       /sys

20K     /tmp
8.9G    /usr
273M    /var
3.2M    /vmlinuz-linux

OK, so first things first, those /proc messages look odd, but for now i decided to check out my /home folder.

sudo du -sh /home/eddie/*
2.1M    /home/eddie/AioServer2.7
0       /home/eddie/aria.log
4.0K    /home/eddie/Audiobooks
76M     /home/eddie/audio-projects
4.0K    /home/eddie/build.log
83M     /home/eddie/Calibre Library
4.0K    /home/eddie/db.sqlite
4.0K    /home/eddie/default.htm
36K     /home/eddie/Desktop
4.0K    /home/eddie/dht.dat
12K     /home/eddie/$DISPLAY
146M    /home/eddie/Documents
12K     /home/eddie/dosbox.conf
36K     /home/eddie/download
20G     /home/eddie/Downloads
29M     /home/eddie/Dropbox
8.0K    /home/eddie/eds2.kdbx
4.0K    /home/eddie/eds.kdb
0       /home/eddie/eds.kdb.lock
4.0K    /home/eddie/edskey
4.0K    /home/eddie/edskey.pub
88K     /home/eddie/eds.m3u
4.0K    /home/eddie/eduke32.log
13M     /home/eddie/gits
12K     /home/eddie/glc-build.sh
4.0K    /home/eddie/glctest
132K    /home/eddie/index.html
4.0K    /home/eddie/jagexappletviewer.preferences
578M    /home/eddie/jagexcache
4.0K    /home/eddie/jagex_cl_runescape_LIVE_BETA.dat
4.0K    /home/eddie/jagex_cl_runescape_LIVE.dat
24K     /home/eddie/kdenlive
28K     /home/eddie/lmms
4.0K    /home/eddie/local.txt
4.0K    /home/eddie/log.log
20K     /home/eddie/logs
4.0K    /home/eddie/lynx_bookmarks.html
12G     /home/eddie/Music
4.0K    /home/eddie/My Games
0       /home/eddie/nohup.out
4.0K    /home/eddie/pacbuilder-packages.log
122M    /home/eddie/Pictures
9.1M    /home/eddie/Pictures - YP-G70
204K    /home/eddie/pipes
0       /home/eddie/PlayOnLinux's virtual drives
4.0K    /home/eddie/Podcasts
4.0K    /home/eddie/prime.txt
4.0K    /home/eddie/random.dat
4.0K    /home/eddie/resume.dat
28K     /home/eddie/rmlint.log
20K     /home/eddie/rmlint.sh
4.0K    /home/eddie/rss.dat
8.0K    /home/eddie/runescape.pings
4.0K    /home/eddie/settings.dat
4.0K    /home/eddie/share
4.0K    /home/eddie/start
3.7M    /home/eddie/Tabs
4.0K    /home/eddie/Templates
4.0K    /home/eddie/Torrents
14M     /home/eddie/Videos
24K     /home/eddie/viewforum.phpa
27G     /home/eddie/VirtualBox VMs

Now I'm no expert, but I think I'm right in saying all of that doesn't add up to 127GB...

So where could all this space be going? I've done lots of googling and nothing so far has stopped making my computer tell me its hard-drive is full, I've checked all the obvious spots like /var too.

I had to unload some files onto my external just so I could even save a text file (This all started when I tried writing a change into my Openbox menu.xml and it wouldn't allow it) So I'm kind of desperate to get this sorted.

Is there anything more I can do to help get some hints as to what is sneakily filling my drive up?

Last edited by Reded (2012-09-15 19:51:07)


"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."

Offline

#2 2012-09-15 19:09:10

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [Solved] Full hard drive - Phantom home folder

Reded wrote:

Is there anything more I can do to help get some hints as to what is sneakily filling my drive up?

Install and run "ncdu"

http://www.archlinux.org/packages/community/i686/ncdu/

Last edited by 2ManyDogs (2012-09-15 19:09:32)

Offline

#3 2012-09-15 19:13:24

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [Solved] Full hard drive - Phantom home folder

There are a number of disk usage analyzers you could try. I use a simple one called xdiskusage. If your du command is working, I would say that something in /home but not /home/eddie is eating up 100GB of space. Thunar's "trashed files" go here for example.

Oh and about /proc? I sometimes get messages like that. I think it has to do with the periodically updated database of your filesystem that is used by things like the "locate" command. I think if you were to run updatedb before the du command, recent changes would be accounted for and the errors would go away. But for /proc it doesn't matter because this directory is in memory, not the hard drive.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#4 2012-09-15 19:16:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Full hard drive - Phantom home folder

'du -sh *' doesn't show files and directories that start with a dot '.'.

Offline

#5 2012-09-15 19:40:34

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 242

Re: [Solved] Full hard drive - Phantom home folder

*Insert mass amount of swear words here*

/home/eddie/.Skype/Logs is nearly 60GB and growing! Noticed it as soon as I fired up ncdu yikes

I guess this thread is solved, let us hope Skype figures out a way to store it's logs in a smaller way one day...

Thanks all, marked solved!


"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."

Offline

#6 2013-01-20 16:19:32

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 273

Re: [Solved] Full hard drive - Phantom home folder

Reded wrote:

*Insert mass amount of swear words here*

/home/eddie/.Skype/Logs is nearly 60GB and growing! Noticed it as soon as I fired up ncdu yikes

I guess this thread is solved, let us hope Skype figures out a way to store it's logs in a smaller way one day...

Thanks all, marked solved!

I just found out the same, I had 30 GB in those stupid log files from Skype (notice they don't contain the history of conversations, just crash info and other things).

Maybe it should be warned in the wiki when it advises to create the ~/.Skype/Logs directory. Some fat warning saying that you should clean it regularly or it will eat all your HD space.

Offline

Board footer

Powered by FluxBB