LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-10-2006, 12:35 AM   #1
vbseeker
LQ Newbie
 
Registered: May 2005
Location: India
Posts: 13

Rep: Reputation: 1
why is my root partition showing 100%


Hi,

I am facing a very peculiar problem. My server root partition kept on increasing and today its showing 100%.
I checked all my application but no application is making log in the root partition.

Below is the df result

[root@linux3 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
4.0G 3.9G 0 100% /
/dev/sda3 190M 15M 166M 8% /boot
none 2.0G 0 2.0G 0% /dev/shm
/dev/mapper/VolGroup00-LogVol05
4.0G 41M 3.7G 2% /home
/dev/mapper/VolGroup00-LogVol03
4.0G 41M 3.7G 2% /tmp
/dev/mapper/VolGroup00-LogVol02
7.9G 2.6G 4.9G 35% /usr
/dev/mapper/VolGroup00-LogVol04
4.0G 1.3G 2.6G 33% /var
/dev/sdb1 68G 17G 47G 27% /opt/opt1
/dev/sdc1 68G 2.4G 62G 4% /opt/opt2
/dev/sdd1 68G 147M 64G 1% /opt/opt3


Root directory ls command

[root@phoneylinux3 ~]# ls -ltrh
total 124K
-rw-r--r-- 1 root root 6.4K Apr 30 2006 install.log.syslog
-rw-r--r-- 1 root root 48K Apr 30 2006 install.log
-rw-r--r-- 1 root root 2.0K Apr 30 2006 anaconda-ks.cfg
-rw-r--r-- 1 root root 1.5K Jun 28 01:34 JavaDaemonTest.java
-rwxr-xr-x 1 root root 8.6K Jul 11 00:40 javaDaemonTest.sh
-rw-r--r-- 1 root root 124 Jul 25 01:42 \
-rw-r--r-- 1 root root 394 Sep 8 19:06 JavaDaemonTest$1.class
-rw-r--r-- 1 root root 630 Sep 13 12:33 db.sh
-rw-r--r-- 1 root root 1.7K Sep 13 12:38 create_table.sql
-rw-r--r-- 1 root root 909 Dec 8 15:45 MyLogger.proprties
-rw-r--r-- 1 root root 5.5K Dec 8 15:45 Mis7886.properties
-rw-r--r-- 1 root root 3.0K Dec 8 16:32 testing.txt
[root@phoneylinux3 ~]# pwd
/root
[root@phoneylinux3 ~]#


Can any body help me how to identify what might be the root cause for the above situation.

And how i can create space on the root partition.

Regards,
Anand
 
Old 12-10-2006, 12:40 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
"du -s" until you find the hog(s)

PS:
4GB isn't really a whole heck of a lot of space to begin with, is it???
 
Old 12-10-2006, 12:59 AM   #3
vbseeker
LQ Newbie
 
Registered: May 2005
Location: India
Posts: 13

Original Poster
Rep: Reputation: 1
why is my root partition showing 100%

Quote:
Originally Posted by paulsm4
"du -s" until you find the hog(s)

PS:
4GB isn't really a whole heck of a lot of space to begin with, is it???
4GB isn't really a whole heck of a lot of space to begin with, is it???

i am not able to understand the above line.

Regards,
Anand
 
Old 12-10-2006, 09:03 PM   #4
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375

Rep: Reputation: 115Reputation: 115
It looks like you are searching in "/root", when you should be searching in "/".

Run "du -sk" on directories in your "/" partition (excluding directories that are mapped to other partitions, like /var, /home, /tmp, /usr, ...).
 
Old 12-21-2006, 04:41 AM   #5
sheryco
Member
 
Registered: Feb 2003
Location: FTWorth, TX
Distribution: Gentoo, Debian, CentOS, FreeBSD, NetBSD & OpenBSD
Posts: 55

Rep: Reputation: 15
According to your df output 4.0G 3.9G 0 100% / damn what is it your are download as root?
Ok try this
Quote:
#cd <enter>
#du -h --max-depth=1 / <enter>
if you find the largest directory you can cd into it and try find the largest of the contents
Quote:
#du -hs | sort -nr | head -15 <enter>
 
  


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
root partition 100% used, frustrated Microshaft transplant CPUNeck Linux - Software 9 02-03-2006 04:04 AM
Resized root partition not showing new size dguse Red Hat 3 12-06-2005 07:45 AM
root partition shows 100% full in RH 7.2 dmcmurray5 Red Hat 2 05-18-2004 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:35 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
Open Source Consulting | Domain Registration