LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-24-2008, 12:06 PM   #1
ccapone11
LQ Newbie
 
Registered: Sep 2008
Distribution: RHEL5
Posts: 8

Rep: Reputation: 0
/ partitiion full...How do I see what to clear up


Ok...I am a complete Linux Newbie. I am using Linux Red Hat 2.6.9-42.ELsmp

We have Nimbus setup to help monitor our servers and I am getting an error that free disk space on / is at 0%. Not sure how I can see what to delete. I tried running du -ks /* | sort -nr | head (found this in another post) and these are the results.

[root@IMPENTBEA /]# du -ks /* | sort -nr | head
15893484 /bea
6085780 /database
3426972 /data
1428800 /usr
955458 /proc
812248 /enterprise
248172 /root
103148 /opt
91940 /lib
29044 /var



But not sure how to see what files or directories point to the / partition. Please help!!!
 
Old 09-24-2008, 12:14 PM   #2
amnesiavivace
LQ Newbie
 
Registered: Sep 2008
Location: Ohio
Distribution: suse, redhat, ubuntu, fedora
Posts: 17

Rep: Reputation: 0
du shows your disk usage, you will need df to show which filesystems are mounted separately
 
Old 09-24-2008, 12:19 PM   #3
ccapone11
LQ Newbie
 
Registered: Sep 2008
Distribution: RHEL5
Posts: 8

Original Poster
Rep: Reputation: 0
Here is the output from df...thank you

[root@IMPENTBEA /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
6.0G 5.6G 18M 100% /
/dev/mapper/VolGroup00-LogVol01
39G 16G 22G 42% /bea
/dev/sda2 122M 13M 103M 11% /boot
none 8.0G 0 8.0G 0% /dev/shm
/dev/mapper/VolGroup00-LogVol02
1008M 36M 922M 4% /home
/dev/mapper/VolGroup00-LogVol03
1.5G 135M 1.3G 10% /opt
/dev/mapper/VolGroup00-LogVol04
4.0G 68M 3.7G 2% /var
/dev/sda10 21G 5.9G 14G 31% /database
 
Old 09-24-2008, 12:21 PM   #4
amnesiavivace
LQ Newbie
 
Registered: Sep 2008
Location: Ohio
Distribution: suse, redhat, ubuntu, fedora
Posts: 17

Rep: Reputation: 0
as a guess, I would say /data is the culprit here
 
Old 09-24-2008, 08:28 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
and /database
 
Old 09-25-2008, 06:19 AM   #6
Percash
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
My Server is Unix and it is frequently restarted and stop in starup mode what to do
 
Old 09-25-2008, 02:43 PM   #7
ccapone11
LQ Newbie
 
Registered: Sep 2008
Distribution: RHEL5
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you for all the help guys. I am looking into this more. In /data I found a /jackrabbit directory and have been told this is esential for our application to run. I am still investigating /database.

Thank you again for all of the help.
 
Old 09-25-2008, 04:57 PM   #8
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 958

Rep: Reputation: 35
possability here that your database logs everyting you do and the log files have filled all the space rather than overwriting the oldest entries
 
Old 09-25-2008, 09:07 PM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
@Percash:

Do not hijack a thr. Start a new one, with much more detail eg Linux name (distro) and version. Give exact details of problems and relevant log msgs.
 
Old 09-25-2008, 09:28 PM   #10
xweb
Member
 
Registered: Dec 2005
Location: norfolk, va
Distribution: kubuntu, debian
Posts: 36

Rep: Reputation: 16
Quote:
Originally Posted by ccapone11 View Post
[root@IMPENTBEA /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
6.0G 5.6G 18M 100% /
The above drive seems to be the only one at capacity.
This partition contains the root directory "/" and probable contains the /tmp folder.

many applications use the temp folder and will not start if it is not writable or full. try deleting every thing in this folder as root.

that should free up enough room to boot the system.
I noticed that your using LVM you should be able to shrink your barely used /home or other partition and reallocate the free space to VolGroup00-LogVol00. That would permanently increase the space available on "/".

Last edited by xweb; 09-25-2008 at 09:31 PM.
 
Old 09-25-2008, 09:40 PM   #11
xweb
Member
 
Registered: Dec 2005
Location: norfolk, va
Distribution: kubuntu, debian
Posts: 36

Rep: Reputation: 16
I just noticed your /data folder is on the same drive as /. I would try increasing the space on this logical volume. If /data is still growing you need the space.
 
Old 09-26-2008, 02:07 PM   #12
ccapone11
LQ Newbie
 
Registered: Sep 2008
Distribution: RHEL5
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks XWEB. I will try and see if that helps!!!!
 
Old 09-26-2008, 02:32 PM   #13
ccapone11
LQ Newbie
 
Registered: Sep 2008
Distribution: RHEL5
Posts: 8

Original Poster
Rep: Reputation: 0
Any suggestions for how to do this? Sorry, but am a complete Newbie to Linux. Thanks!!!
 
Old 09-26-2008, 03:57 PM   #14
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by chrism01 View Post
and /database
Database seems to be on it's own partition, so it wouldn't be affecting /
 
Old 09-26-2008, 07:32 PM   #15
xweb
Member
 
Registered: Dec 2005
Location: norfolk, va
Distribution: kubuntu, debian
Posts: 36

Rep: Reputation: 16
You can find resources on how to use LVM on this page
http://sources.redhat.com/lvm2/
 
  


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
How to clear a std::string buff.clear()? lucky6969b Programming 3 03-17-2006 08:50 AM
Red Hat 6.2 And Sendmail Newbie Trying To Clear Full Files tss_0001 Red Hat 3 03-16-2006 03:44 PM
how do i replace the clear "clear screen" with the cls command thefedexguy SUSE / openSUSE 2 12-02-2005 06:02 PM
partitiion utility M O L8ingN2dust Mandriva 2 10-29-2005 07:09 PM
still not clear garorag Linux - Newbie 2 09-18-2001 01:48 PM


All times are GMT -5. The time now is 02: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration