Results 1 to 10 of 15
found what takes space but not sure what to delete here is the output of df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.2G 157M 8.6G 2% /
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-13-2010 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 7
hard drive full , read similar threads but still need help
found what takes space but not sure what to delete here is the output of df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.2G 157M 8.6G 2% /
/dev/sda5 9.4G 9.4G 20K 100% /usr
/dev/sda6 213G 213G 20K 100% /var
none 1.0G 12K 1.0G 1% /tmp
tmpfs 2.0G 0 2.0G 0% /usr/local/psa/handlers/before-local
can you help to identify what to delete to clear up space , thanks
- 11-13-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,141
You have 213GB allocated to /var (/dev/sda6), which is full. This is highly unusual since /var mostly contains application configuration and log directories. My guess is that your log files have grown in number and size beyond what they should, indicating a logging mis-configuration.
So, what distribution+version of Linux are you running? Also, post the contents of /etc/logrotate.conf here. Also, check in /var/log and its subdirectories to see how big and many they are. You can check the size of /var/log with this command (as root): du -sk /var/log
It may take a bit of time to run, depending upon how many files there are, and their sizes.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 11-14-2010 #3Just Joined!
- Join Date
- Nov 2010
- Posts
- 7
thanks for reply
I do not know hot to find out distribution and version .
I looked into var/log , deleted big files , that cleared 420 megs , so at least my site is working again ,
tried to excute /etc/ came back as no such file ,
could please advise me how to look further in the problem and sorry for my very basic skills in Linux.
- 11-14-2010 #4Just Joined!
- Join Date
- Nov 2010
- Posts
- 7
checked usr folders
found folder Local is taking a lot of space , and here are the size of files
[root@s15346015 ~]# du -sk /usr/local/sbin
3720 /usr/local/sbin
[root@s15346015 ~]# du -sk /usr/local/psa
8761096 /usr/local/psa
[root@s15346015 ~]# du -sk /usr/local/libexec
0 /usr/local/libexec
[root@s15346015 ~]# du -sk /usr/lib64
248224 /usr/lib64
[root@s15346015 ~]# du -sk /usr/lib
210440 /usr/lib
[root@s15346015 ~]# du -sk /usr/include
12724 /usr/include
[root@s15346015 ~]# du -sk /usr/games
0 /usr/games
[root@s15346015 ~]# du -sk /usr/etc
0 /usr/etc
[root@s15346015 ~]# du -sk /usr/bin
92180 /usr/bin
- 11-14-2010 #5Just Joined!
- Join Date
- Nov 2010
- Posts
- 7
/usr/local/psa/var/log is quite a big file
is it safe to delete that file and could you advise how to delete it , i guess it is
rm/usr/local/psa/var/log
is that correct?
- 11-14-2010 #6
just fyi, if you delete it, most likely it is permanent, i would advise you to double check first what /usr/local/psa directory contains
- 11-14-2010 #7
Post the output of this
Code:cat /etc/lsb-release cat /etc/issue
In case you are using any Debian base distro, execute this
It will clear cache and free a lot of space.Code:sudo apt-get clean all
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 11-15-2010 #8Just Joined!
- Join Date
- Nov 2010
- Posts
- 7
here is out put
[root@s15346015 ~]# cat /etc/issue
CentOS release 5.2 (Final)
Kernel \r on an \m
- 11-15-2010 #9Just Joined!
- Join Date
- Nov 2010
- Posts
- 7
340 megs gone over night
prevoiusly i cleared 340 megs only to last few hours over night and now hard is full again
- 11-15-2010 #10Just Joined!
- Join Date
- Nov 2010
- Posts
- 7
in var problem was that backup files not deleted
so found around 12 files each is 10 gigs , deleted them . so var sorted now , any advice for other drive that is 9 gigs and full


Reply With Quote
