LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   / partition filling up (https://www.linuxquestions.org/questions/linux-newbie-8/partition-filling-up-170980/)

cgwillis 04-16-2004 01:18 PM

/ 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

david_ross 04-16-2004 02:16 PM

Welcome to LQ.

Are you sure that is all that is on /? Try this:
cd /
du -hs `ls -a`

cgwillis 04-16-2004 02:31 PM

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


All times are GMT -5. The time now is 04:14 PM.