LinHES Forums
http://forums.linhes.org/

Root Partition % Full Message
http://forums.linhes.org/viewtopic.php?f=21&t=22831
Page 1 of 1

Author:  spideyk21 [ Mon Oct 15, 2012 8:31 am ]
Post subject:  Root Partition % Full Message

While looking for something else on my Backend machine a screen message poped up stating that my Root (/) Partition is 90% full.
Code:
dh -h
Code:
Filesystem                                              Size  Used Avail Use% Mounted on
udev                                                     10M     0   10M   0% /dev
run                                                      10M  168K  9.9M   2% /run
cachedir                                                4.0M  4.0K  4.0M   1% /lib/splash/cache
/dev/disk/by-uuid/856bd46a-c879-4dea-ba8f-9753df423c3a  4.9G  4.1G  489M  90% /
none                                                    1.3G     0  1.3G   0% /dev/shm
/dev/sda3                                               177G  3.2G  165G   2% /myth
/dev/sdb1                                               932G  445G  488G  48% /myth2
/dev/sdc4                                               932G  403G  530G  44% /myth3
//192.168.1.50/ServerVideos/                            932G  704G  228G  76% /mnt/video

Digging through the forum I found a few posts with the same problems, and all solutions pointed at log files. From this point on I am lost. All my log files look fine, size wise. Any pointers on how to proceed determining what file(s) are the culprit?

Author:  jams [ Mon Oct 15, 2012 9:20 am ]
Post subject:  Re: Root Partition % Full Message

Run the following command to figure out which top-level dir is using up the space.
du -h --exclude /dev --exclude /proc --exclude /sys --max-depth=1 /

Once you figure that out, run the command again for each dir you want to look into more.
For instance if /home looks like it's using alot of space run
du -h --max-depth=1 /home

The most likely problem spots are
1) /home
2) /var/log
3) /var/cache

Author:  spideyk21 [ Mon Oct 15, 2012 10:24 am ]
Post subject:  Re: Root Partition % Full Message

Ran the command and got
Code:
1.6M   /download
5.9M   /tmp
8.0K   /media
48M   /boot
74M   /opt
114M   /var
1.2G   /data
704G   /mnt
2.0G   /usr
125M   /lib
12K   /srv
445G   /myth2
168K   /run
4.0K   /service
14M   /sbin
422M   /home
403G   /myth3
16K   /lost+found
33M   /etc
3.0G   /myth
4.3M   /bin
3.6M   /root
1.6T   /

Most of it looks fine. After some digging it appears that my pacman cache (/data/var/cache/pacman/pkg) is almost a 1 gig.
Code:
982M   /data/var/cache/pacman/pkg

Looking at your post I noticed that the majority of other users only had 4.0k for the pacman cache. Cleaned the cache with pacman -Sc, and now we are back down to 79% used in root (/).

I will keep an eye on it for the next few days to make sure there isn't something I missed.
Thanks jams.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/