LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-28-2003, 03:24 PM   #1
kaos1409
LQ Newbie
 
Registered: Jul 2002
Posts: 9

Rep: Reputation: 0
Out of space in /tmp?


I'm running a default RH7.3 install, and it seems the / partition has run out of space, which makes installing any new packages or compiling anything, close to impossible, as it needs to write to /tmp. Is there any way to find what large files are located in / that could be taking up all 372M of that partition?

Here's what everything looks like:

[kaotikus@optimus]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 372M 372M 0 100% /
/dev/hda1 45M 8.7M 34M 21% /boot
/dev/hda3 1.8G 48M 1.6G 3% /home
none 62M 0 61M 0% /dev/shm
/dev/hda2 5.0G 2.3G 2.4G 49% /usr
/dev/hda6 251M 112M 126M 47% /var
 
Old 03-28-2003, 03:32 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'd suggest
Code:
du / -hx | less
giving only that much space to / wasn't that great an idea... was that an autoinstallation choice?
 
Old 03-28-2003, 03:34 PM   #3
kaos1409
LQ Newbie
 
Registered: Jul 2002
Posts: 9

Original Poster
Rep: Reputation: 0
Uhm, what does that tell me exactly? Yes, it was an autoinstaller choice.. i didn't realize it was that small...

[root@optimus /]# du / -x | less
12 /lost+found
4 /dev/ataraid
33 /dev/cciss
1 /dev/cpu/0
1 /dev/cpu/1
1 /dev/cpu/10
1 /dev/cpu/11
1 /dev/cpu/12
1 /dev/cpu/13
1 /dev/cpu/14
1 /dev/cpu/15
1 /dev/cpu/2
1 /dev/cpu/3
1 /dev/cpu/4
1 /dev/cpu/5
1 /dev/cpu/6
1 /dev/cpu/7
1 /dev/cpu/8
1 /dev/cpu/9
17 /dev/cpu
1 /dev/compaq
1 /dev/dri
32 /dev/i2o
33 /dev/ida
1 /dev/inet
2 /dev/input


Thanks for the quick response...
 
Old 03-28-2003, 03:37 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
add that h i added in.... it shows the size of each directory, so you can see where the space has gone. actually, change it to
Code:
du / -hx | grep [0-9]M | less
and that should only show directorys over 1mb, and cutout a lot of junk
 
Old 03-28-2003, 03:57 PM   #5
kaos1409
LQ Newbie
 
Registered: Jul 2002
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks so much! That let me narrow it down to a couple directories that had mistakenly been used to compile some stuff..

...and your response time: incredible.

Thanks again! have a great day!
 
Old 03-28-2003, 06:18 PM   #6
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
I don't use a separate partion for home as i am the only one using this PC...you have 1.6 gigs on /home just sitting there....just install stuff to that if you run short.
 
Old 03-28-2003, 06:21 PM   #7
kaos1409
LQ Newbie
 
Registered: Jul 2002
Posts: 9

Original Poster
Rep: Reputation: 0
yeah, i would do that, but the case was that the things like ./configure and stuff write to /tmp by default, so i had to clean that mess up..
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
increase /tmp space to 1GB gobbs Linux - Newbie 3 01-22-2007 01:08 AM
Newbie - X won't let me login because not enough free disk space in /tmp sart1 Linux - Software 1 06-02-2005 10:22 PM
/tmp not enough free space jang Linux - General 12 02-10-2005 03:21 AM
Numerous scb_*.tmp files in /tmp dburk Programming 3 08-18-2003 04:28 PM
Newbie question - /tmp /var/tmp Mr happy Linux - Security 3 01-27-2003 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:40 PM.

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