LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-16-2004, 02:18 PM   #1
cgwillis
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
/ partition filling up


im having a mysterious problem that popped up 3 days ago. for some reason the / partition is reporting as full and causing uploads on my websites to no longer work.

im running redhat 7.3: linux 2.4.18-24.7.xsmp

my partitions are as follows:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
/dev/sda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

a df reads:
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda6 381139 381139 0 100% /
/dev/sda1 46636 20148 24080 46% /boot
/dev/sda5 8901756 6801184 1648344 81% /home
none 256740 0 256740 0% /dev/shm
/dev/sda2 24359416 3149176 19972836 14% /usr
/dev/sda7 256667 166904 76511 69% /var

a du -hc of all the folders on the / partition is:
270k dev
43k tmp
12k lost+found
14M etc
8.7M sbin
65M lib
5.8M bin
1.0k initrd
1.0k misc
849k root
1.0k proc

there are no errors in /var/log/messages

does anyone have any idea where the disk space is going or ideas on how to fix?

the machine is running coldfusion, sendmail and apache. ive rebooted it a dozen times, and ive fsckd the disk with no luck.

thanks,
chris
 
Old 04-16-2004, 03:16 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Welcome to LQ.

Are you sure that is all that is on /? Try this:
cd /
du -hs `ls -a`
 
Old 04-16-2004, 03:31 PM   #3
cgwillis
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for the response....

that syntax doesnt seem to work:
[root]# du -hs `ls -a`
du: invalid option -- r
Try `du --help' for more information.

here is a the output of:
cd /
ls

total 148k
drwxr-xr-x 18 root root 81k Apr 16 03:52 dev/
drwxrwxrwt 21 root root 22k Apr 16 05:11 tmp/
drwx------ 2 root root 12k Dec 5 2002 lost+found/
drwxr-xr-x 41 root root 4.0k Apr 16 03:51 etc/
drwxr-xr-x 16 root root 4.0k Mar 30 16:00 home/
drwxr-xr-x 2 root root 4.0k Dec 2 14:46 sbin/
drwxr-xr-x 21 root root 4.0k Apr 15 11:44 usr/
drwxr-xr-x 7 root root 3.0k Dec 2 14:46 lib/
drwxr-xr-x 2 root root 2.0k Dec 2 14:47 bin/
drwxr-xr-x 4 root root 2.0k Mar 10 17:05 boot/
drwxr-xr-x 18 root root 1.0k Apr 16 03:51 ./
drwxr-xr-x 18 root root 1.0k Apr 16 03:51 ../
drwxr-xr-x 2 root root 1.0k Jun 21 2001 initrd/
drwxr-xr-x 2 root root 1.0k Apr 2 2002 misc/
drwxr-xr-x 9 root root 1.0k Dec 30 11:48 mnt/
drwxr-x--- 7 root root 1.0k Mar 21 14:28 root/
drwxr-xr-x 19 root root 1.0k Feb 21 2003 var/
-rw------- 1 root root 64 Dec 9 2002 .bash_history
lrwxrwxrwx 1 root root 8 Apr 15 11:45 opt -> /usr/opt/
-rw-r--r-- 1 root root 0 Apr 16 03:51 .autofsck
dr-xr-xr-x 91 root root 0 Apr 15 20:50 proc/

i dont think im missing anything.


chris
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tv filling the screen biscristi Linux - Software 0 06-09-2004 06:28 AM
help! my syslog is filling up. chopp Slackware 2 05-02-2004 03:38 AM
partition filling up...grrrr Kroenecker Linux - Newbie 8 11-02-2003 07:34 PM
Filling the root partition causes... Uncreative Slackware 1 05-08-2003 07:46 AM
/boot filling up jonfa Linux - General 5 01-26-2002 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration