PDA

View Full Version : / full



991tts
30th March 2015, 02:04 PM
Hello,

Two days ago an entire folder mysteriously disappeared, I tried using scalpel to recover it but nothing happened except that / folder is now 100% full and I can't find what is causing the problem.

/ du -sh *


0 bin
174M boot
3.3M dev
43G etc
300G home
0 lib
0 lib64
16K lost+found
4.0K media
4.0K mnt
4.0K opt
625M pentest
du: cannot access ‘proc/17671/task/17671/fd/4’: No such file or directory
du: cannot access ‘proc/17671/task/17671/fdinfo/4’: No such file or directory
du: cannot access ‘proc/17671/fd/4’: No such file or directory
du: cannot access ‘proc/17671/fdinfo/4’: No such file or directory
0 proc
6.8M root
du: cannot access ‘run/user/1000/gvfs’: Permission denied
8.6G run
0 sbin
4.0K srv
0 sys
20M tmp
5.3G usr
351M var


/var du -sh *


4.0K account
4.0K adm
65M cache
4.0K crash
4.0K cvs
20K db
8.0K empty
4.0K games
4.0K gdm
4.0K gopher
242M lib
4.0K local
0 lock
41M log
0 mail
4.0K nis
4.0K opt
4.0K preserve
0 run
1.7M spool
1.3M tmp
340K www
4.0K yp

lost+found folder(s) are empty, I also used disk usage analyzer but I can't find anything.

appreciate the help, thanks.

Smit-Tay
30th March 2015, 02:17 PM
ANd your 300 Gigabyte home directory is not suspect ?

991tts
30th March 2015, 02:20 PM
Nothing there, I just found scalpel-output under /etc and it's 43GB!! it contains lots of .MOV files (non work) the original missing files is well under 10GB

nsnbm
30th March 2015, 10:39 PM
My /etc on f21, lxde:


[root@til ~]# du -sh /etc
33M /etc

That's quite a bit less than /etc with 43G.
And,


[root@til ~]# du -sh /run
820K /run

shows quite a bit less for /run than 8.6G.
Does your system have special requirements needing such large /etc and /run directories?

991tts
31st March 2015, 12:58 PM
I reduced the size of /etc to 52M. and no, my system does not need special requirements so i have no idea why /run is that big! I mostly use firefox and virtualbox, nothing complicated!

running 3.11.10-100.fc18.x86_64

thanks for the help!

Smit-Tay
31st March 2015, 04:04 PM
Yeah, a 43 Gigabyte /etc directory is a bit unusual.

Didn't notice that one after I saw your /home directory size.