Results 1 to 9 of 9
-
11-17-2009, 08:56 PM #1Web Hosting Master
- Join Date
- Sep 2007
- Posts
- 815
/dev/sda6 is running out of space. How to check why it is?
I have seen this from my server information (using cPanel)
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 2.0G 1.6G 327M 83% /
can anyone help me why it is taking up so much space? what can i do about this?
also what is /root/.cache for? How do i "clear" the files inside it without causing any issue in the server?All things work together for the good of those who love God - Romans 8:28
-
11-18-2009, 12:16 AM #2Web Hosting Master
- Join Date
- Mar 2009
- Location
- Gods Own Country
- Posts
- 681
check which folder is taking up space. It can be log files in /var/tmp/, yum cache ( in this case do "yum clean all" ) etc
Code:for i in `find / -maxdepth 6 -type d`; do num=`du -s $i | awk '{print $1}'`; echo "$num $i"; done | sort -n
█ Fabin Mundattil @ Xieles Support
█ High Quality Server Management | support @ xieles.com
█ https://xieles.com
-
11-18-2009, 12:45 AM #3Web Hosting Guru
- Join Date
- May 2008
- Posts
- 340
If you don't have separate partitions for system directories such as /usr, /var and /home which are the default directories which get filled in the case of a server then those directories would be under / and not separately mounted.
What is the output of the following command ?
df -hTwitter : http://twitter.com/eth1networks
Contact Us : support[at]eth1.in
-
11-18-2009, 10:45 AM #4Web Hosting Master
- Join Date
- Oct 2009
- Posts
- 1,063
Try checking /var this is normally where all your logs are get stored it may be that you don't have logrotate activated. It might be your probably your /tmp or /var directories that have become overcrowded. Check the size of files and folder using command,
# du -sh *Shared Hosting | Reseller Hosting | VPS Hosting | Dedicated Servers
KeserHosting.Com
-
11-18-2009, 11:08 AM #5Web Hosting Guru
- Join Date
- Nov 2009
- Location
- Nasik,India
- Posts
- 252
Hi
for checking which folder using space u can use following command
root@host [/var]# du -hx --max-depth=1
-
11-18-2009, 02:12 PM #6Disabled
- Join Date
- Oct 2009
- Location
- India
- Posts
- 95
Hi,
Please try to clear the logs file from the server. In cPanel servers they are located in /var/log . Also get back with the result of the command df -h . It should be helpful for further assistance.
-
11-20-2009, 11:40 PM #7Web Hosting Master
- Join Date
- Sep 2007
- Posts
- 815
I noticed that its always /root/.cache that is filling up my boot partition. What is this folder for?
All things work together for the good of those who love God - Romans 8:28
-
11-21-2009, 03:36 AM #8Web Hosting Master
- Join Date
- Jul 2009
- Posts
- 1,568
Looking at the partition size above, it is clear that all your partitions are separate and not under /
I guess you should look for the contents .cache file and see what is creating the file. There is no problems in deleting it as it is not system related.
If you think it may cause problems, create a temporary directory under /home and move the .cache file under it.| LinuxHostingSupport.net
| Server Setup | Security | Optimization | Troubleshooting | Server Migration
| Monthly and Task basis services.
| MSN : madaboutlinux[at]hotmail.com | Skype : madaboutlinux
-
11-21-2009, 04:33 AM #9Web Hosting Master
- Join Date
- Sep 2007
- Posts
- 815
Similar Threads
-
/dev/sda6 (/usr) is 89% full
By themuggle in forum Hosting Security and TechnologyReplies: 8Last Post: 07-01-2009, 02:59 PM -
how to check if easyapache is running
By sharmaine1111 in forum Hosting Software and Control PanelsReplies: 2Last Post: 03-31-2009, 08:48 AM -
/dev/hda /dev/hdb /dev/hdc /dev/hdd
By pmak0 in forum Hosting Security and TechnologyReplies: 5Last Post: 01-16-2004, 04:13 AM -
need 40-50 Gigs of HD space running on a Windows 2000 or 2003 server running IIS 5 or
By brianhunt in forum Dedicated ServerReplies: 2Last Post: 07-08-2003, 12:02 PM -
How do I check if named is running?
By nogi in forum Dedicated ServerReplies: 6Last Post: 05-26-2003, 02:17 PM