Help - Search - Members - Calendar
Full Version: 100% full root (/) after recovery
The Planet Forums > Operating Systems > Red Hat Linux
Cytadia
Hi all !

Just recovered from Houston down time. All seems fine except for df reporting I'm using 100% of the root:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 8123168 7757168 0 100% /

All other filesystems are ok. I tried to locate any big files but to no avail. Any ideas where this could be coming from ?

I did get the following in my log when restarting from the power outage

Jun 2 02:43:52 kernel: EXT3-fs: sda5: 53 orphan inodes deleted
Jun 2 02:43:52 kernel: EXT3-fs: recovery complete.
Jun 2 02:43:52 kernel: EXT3-fs: mounted filesystem with ordered data mode.

Thanks a lot !
eth00
du -h --max-depth /

try that and start looking around for the usage
Cytadia
QUOTE (eth00 @ Jun 2 2008, 07:13 AM) *
du -h --max-depth /

try that and start looking around for the usage


Thanks for your help eth00.

I tried a du and all the big files/directories are located on /home and /usr, which are on two other filesystems:

du -h --max-depth=1 / | grep G
5.8G /home
3.0G /usr
6.6G /mnt
16G /

du -h --max-depth=1 / | grep M
15M /boot
17M /opt
30M /sbin
210M /var
7.0M /bin
7.3M /scripts
2.1M /tmp
2.6M /root
146M /lib
74M /etc


df
/dev/sda5 8123168 7757164 0 100% /
/dev/sda1 124427 20371 97632 18% /boot
tmpfs 2076024 0 2076024 0% /dev/shm
/dev/sda8 206970004 6247876 190038908 4% /home
/dev/sda6 1019208 41588 925012 5% /tmp
/dev/sda3 8123200 3089784 4614120 41% /usr
/dev/sda2 10154020 366292 9263608 4% /var
//xx.xx.xx.x/ 11714732032 8677684108 3037047924 75% /mnt/backup


I do have a NAS setup and mounted also as you can see on the last line above.

I just rebooted the server but it didn't change a thing... unsure.gif

I also deleted the few files I could find (logs, etc.) on /. It did lower the used blocks but did not increase the nb. of available blocks. I just don't understand where these 7GB could be coming from...
Cytadia
QUOTE (Cytadia @ Jun 2 2008, 07:25 AM) *
Thanks for your help eth00.

I tried a du and all the big files/directories are located on /home and /usr, which are on two other filesystems:

du -h --max-depth=1 / | grep G
5.8G /home
3.0G /usr
6.6G /mnt
16G /

du -h --max-depth=1 / | grep M
15M /boot
17M /opt
30M /sbin
210M /var
7.0M /bin
7.3M /scripts
2.1M /tmp
2.6M /root
146M /lib
74M /etc
df
/dev/sda5 8123168 7757164 0 100% /
/dev/sda1 124427 20371 97632 18% /boot
tmpfs 2076024 0 2076024 0% /dev/shm
/dev/sda8 206970004 6247876 190038908 4% /home
/dev/sda6 1019208 41588 925012 5% /tmp
/dev/sda3 8123200 3089784 4614120 41% /usr
/dev/sda2 10154020 366292 9263608 4% /var
//xx.xx.xx.x/ 11714732032 8677684108 3037047924 75% /mnt/backup
I do have a NAS setup and mounted also as you can see on the last line above.

I just rebooted the server but it didn't change a thing... unsure.gif

I also deleted the few files I could find (logs, etc.) on /. It did lower the used blocks but did not increase the nb. of available blocks. I just don't understand where these 7GB could be coming from...


Ok boys and girls, I found the problem. It might help some of you if you have a NAS. When our server powered up this morning, it tried to backup our data (daily backup) on our NAS; it seems however that the NAS was not up so it dumped all our files in the usual folder (the one we use for the NAS mount). Doing du and df, I did not pay attention to the mnt directory but this is what was eating 90% of my / filesystem. So I ensured that our NAS was not mounted, downloaded those files (can't trash a backup these days... biggrin.gif), deleted them and mounted our NAS (where I found our backup from the 31st of May).

Hope it'll help some of you.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.