Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-23-2004, 01:30 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2003
Location: Columbus, OH
Posts: 7
Rep:
|
Somehow all my disk space keeps getting used
Please help. Somehow my disk space is being used up by something. I tried doing a DU to find out if there are any huge files, but it doesn't seem so. (if I am properly using the command anyways...)
On the "df" my available HD space keeps decreasing incrementally every time I run it. I can't figure out why this may be.
Has anybody run into this before? I am welcome to any suggestions, and will provide any information that can assist.
Thank you very much.
Clint Young
|
|
|
|
02-23-2004, 01:32 PM
|
#2
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,902
|
Hi ... and welcome to LQ
What's your partitioning scheme?
Copy and paste /etc/fstab, please.
Cheers,
Tink
|
|
|
|
02-23-2004, 01:45 PM
|
#3
|
|
LQ Newbie
Registered: Sep 2003
Location: Columbus, OH
Posts: 7
Original Poster
Rep:
|
Wow -- that sure is a quick response I have seen here. So thank you, I believe this is what you want. If not, I apologize.
Thanks!
[root@webserve etc]# more fstab
/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
[root@webserve etc]# df
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 3.4G 3.2G 156K 100% /
/dev/hda6 2.2G 260M 1.9G 12% /home
[root@webserve etc]#
|
|
|
|
02-23-2004, 02:47 PM
|
#4
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,902
|
Sometimes du doesn't report files properly ...
as root, try this one.
Code:
-
find / -printf "%k %p\n" | sort -g -k 1,1 | tail -n 15
That should spit out the 15 largest files on your system ...
Cheers,
Tink
|
|
|
|
02-23-2004, 02:55 PM
|
#5
|
|
LQ Newbie
Registered: Sep 2003
Location: Columbus, OH
Posts: 7
Original Poster
Rep:
|
Looks like we have our answer here:
[root@webserve etc]# find / -printf "%k %p\n" | sort -g -k 1,1 | tail -n 15
find: /mnt/floppy: Input/output error
find: /mnt/cdrom: Input/output error
find: /proc/4050/fd/4: No such file or directory
13528 /usr/local/lib/libMagick.a
13528 /var/www/ImageMagick-5.5.7/magick/.libs/libMagick.a
13636 /usr/share/fonts/ttf/korean/batang.ttf
14764 /usr/lib/aspell/fr-60-only.rws
16052 /usr/lib/aspell/es.rws
16340 /usr/lib/aspell/da.rws
17220 /var/lib/urpmi/hdlist.main.cz
17824 /usr/lib/aspell/sk.rws
24668 /usr/lib/aspell/ru.rws
24748 /var/lib/rpm/Packages
60636 /usr/lib/aspell/cs.rws
76592 /home/abbzer0/OOo_1.1.0_LinuxIntel_install.tar.gz
224708 /var/log/kernel/info
224912 /var/log/messages
225156 /var/log/syslog
[root@webserve etc]#
I am betting that the log information is the culprit for eating up all the disk space. I am however still unsure for the reason this might be occuring. Any thoughts on this matter? Also, would I be safe in deleting those log files to free up those 700 or so megs of space?
Thanks again for all your assistance.
AbbZer0
|
|
|
|
02-23-2004, 03:21 PM
|
#6
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,902
|
Most systems would use logrotate these days ...
I haven't seen 220MB logs in a while.
Another good way of hunting down culprit's
would be using something like
Code:
du -m --max-depth=1 <dir in question> | sort -g -k 1,1
so you can locate the fattest directories.
What distro are you running, btw?
Cheers,
Tink
|
|
|
|
02-23-2004, 04:29 PM
|
#7
|
|
LQ Newbie
Registered: Sep 2003
Location: Columbus, OH
Posts: 7
Original Poster
Rep:
|
Running Mandrake 9.1 Prosuite. Thank you again for your help.
|
|
|
|
02-23-2004, 04:32 PM
|
#8
|
|
LQ Newbie
Registered: Sep 2003
Location: Columbus, OH
Posts: 7
Original Poster
Rep:
|
I wonder if this could have something to do with MySQL. I was attempting to make some new databases so perhaps that is to blame. I will post results when I find them.
|
|
|
|
02-27-2004, 01:47 AM
|
#9
|
|
LQ Newbie
Registered: Sep 2003
Location: Columbus, OH
Posts: 7
Original Poster
Rep:
|
Still decreasing....
Something is STILL eating up my HD space... Even though I now have several hundred megs free, every time I look at the space, it is a bit less.. Any ideas of what I might be able to look for? As stated, I suppose it *COULD* have something to do with MySQL, but am not sure.
Thanks,
AbbZer0
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:58 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|