You are not logged in.

#1 2014-09-30 20:01:12

lordnaikon
Member
Registered: 2014-09-30
Posts: 34

[SOLVED]Missing Diskspace

Hi,

recently my diskspace usage went up to over 80% and i tried to investigate why and what i can do about it. Its not that this went up from 20% to over 80% in just a week or alike. It was stable at around 35-40G and i didn't bother that much my / is 64G (120G ssd) and i had several DE's installed and i thought this was normal. But now i am at ~50G and stated to look what causes this. So i started with df

df
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
/dev/sda6        64G     49G   12G   81% /
dev             3,9G       0  3,9G    0% /dev
run             3,9G    996K  3,9G    1% /run
tmpfs           3,9G    143M  3,7G    4% /dev/shm
tmpfs           3,9G       0  3,9G    0% /sys/fs/cgroup
tmpfs           3,9G    1,1M  3,9G    1% /tmp
/dev/sdb2       1,1T    716G  284G   72% /home/naikon/opt
tmpfs           784M     20K  784M    1% /run/user/1000

as one can see 81% usage of my "root" partition. So i tried to search out the folder under / where the space is "wasted" by running (/home is a mounted hdd)

du -h --max-depth=1 /

28K	/mnt
0	/proc
16K	/srv
8,0K	/tmp
4,0K	/.Trashes
16K	/.kde4
16K	/.fseventsd
18M	/etc
574M	/opt
12K	/.config
16K	/lost+found
12G	/usr
145M	/root
0	/sys
35M	/boot
3,6G	/var
716G	/run
749G	/home
476K	/dev
1,5T	/
1,5T	insgesamt

that was the point where i started to wonder "who is using the diskspace?" i can only see /usr 12G and /var ~4G which sums up to 16G. df claims 49G who is using the other 33G?
I started to use other tools ( maybe i cant use the commandline m(    ) baobab showed me this

nxlwa3g6386.png

what am i doing wrong ?

Last edited by lordnaikon (2014-09-30 21:12:24)

Offline

#2 2014-09-30 20:24:13

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,020

Re: [SOLVED]Missing Diskspace

Apparently 33G are in /home, outside of /home/naikon/opt.

Offline

#3 2014-09-30 20:31:56

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED]Missing Diskspace

My guess is that everything is in your home folder. Try adding -x to the du command, which will prevent it from traversing to different filesystems:

$ du -xh --max-depth=1 / 2>/dev/null
3.1G	/usr
12M	/etc
88K	/srv
64K	/mnt
16K	/lost+found
4.0K	/root
419M	/opt
3.6G	/

Note: /var and /home don't show up for me because each is on its own filesystem.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2014-09-30 21:11:35

lordnaikon
Member
Registered: 2014-09-30
Posts: 34

Re: [SOLVED]Missing Diskspace

OMG ... can't believe i am such an idiot big_smile yes, you guys are totally right! sometimes one can get lost on its own systems – shame on me m(  just for curiosity ( and i totally forgot that i have done this on that machine )  its not /home that is mounted from the other hdd i have done this ugly ****

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sdb6
UUID=60cd40e2-e150-4ad2-b2d1-0e632869a54b	/         	ext4      	rw,relatime,data=ordered	0 1

# /dev/sdb1
UUID=ef222ef2-c08e-45a8-afc8-e4a652bf67f0	none      	swap      	defaults  	0 0

#data storage sda2
UUID=0c6fd592-90f8-4bf2-87aa-dafd982ebc24 /run/media/naikon/DATA/ auto          defaults        0 0
#share data bind mountpoints
/run/media/naikon/DATA/Documents/  /home/naikon/Documents  none defaults,bind 0 0
/run/media/naikon/DATA/Downloads/  /home/naikon/Downloads  none defaults,bind 0 0
/run/media/naikon/DATA/Music/      /home/naikon/Music      none defaults,bind 0 0
/run/media/naikon/DATA/opt/        /home/naikon/opt        none defaults,bind 0 0
/run/media/naikon/DATA/Pictures/  /home/naikon/Pictures   none defaults,bind 0 0
/run/media/naikon/DATA/Videos/     /home/naikon/Videos     none defaults,bind 0 0

i hope you guys don't mind but i don't know how long i would sit here and believe that my hdd is mounted under /home big_smile ...
so in my case some application created home/naikon/.someApp folders which are therefor on my ssd. thanks for that, i copyed and symlinked it to /home/naikon/Documents/local
now my disk is free 35% usage.

Offline

Board footer

Powered by FluxBB