LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-26-2004, 10:44 PM   #1
AbsoluteMonkey
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora Core 10
Posts: 58

Rep: Reputation: 15
Disk Space Problem


Hey, all of a sudden my box starts lagging. I was trying to install a Half-Life DS. Starts lagging so I rebooted. I have a 20G drive and maybe about 6-8gbs of files. But now it says I have it full. I narrrowed it down to the /root dir. It says it has 12GB in it. But when I look in it it only has four files. They are the following:
anaconda-ks.cfg install.log install.log.syslog vpd.properties
All totalling up to about 40K. I can't get into gnome,it just crashes which I think it may be because of the diskspace.
BTW I'm really new at linux.


Thanks,
Travis
 
Old 03-26-2004, 11:00 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Is it / or actually /root? There's a big difference there between the two. / is the upper most directory that all other directories fall under and space, unless they are mounted on another partition. /root is root's home directory, which I would be suprised if it has its own partition that takes up 12gb of space alone on a 20gb drive.
 
Old 03-26-2004, 11:07 PM   #3
AbsoluteMonkey
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora Core 10
Posts: 58

Original Poster
Rep: Reputation: 15
Well this is what I come up with:
[root@Server /]# du -hs *
4.7M bin
5.1M boot
420K dev
17M etc
2.8M home
4.0K initrd
51M lib
16K lost+found
4.0K misc
12K mnt
175M opt
3.0K proc
12G root
12M sbin
4.0G Server
48K tftpboot
836K tmp
2.1G usr
60M var


That's running the query from the dir outside of root.

Travis
 
Old 03-26-2004, 11:11 PM   #4
AbsoluteMonkey
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora Core 10
Posts: 58

Original Poster
Rep: Reputation: 15
I also came up with this just now remebering hidden files. This is in the root dir:
[root@Server root]# du -hs .xsession-errors
12G .xsession-errors


Can I delete this?
 
Old 03-26-2004, 11:14 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by AbsoluteMonkey
I also came up with this just now remebering hidden files. This is in the root dir:
[root@Server root]# du -hs .xsession-errors
12G .xsession-errors


Can I delete this?
Yes, you can remove that. But you might want to look at the tail end of it. If I was you, I'd be curious to find out why you have xsession error file that is 12gb in size...
 
Old 03-26-2004, 11:16 PM   #6
AbsoluteMonkey
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora Core 10
Posts: 58

Original Poster
Rep: Reputation: 15
How do I view it? If it's 12Gb it will take some time to load yea?
 
Old 03-27-2004, 12:47 AM   #7
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by AbsoluteMonkey
How do I view it? If it's 12Gb it will take some time to load yea?
Using a terminal or the console, easy way to view it and maybe just the last portion of the file so you don't load the whole thing would be to do this:

tail -50 .xsession-errors

That will print the last 50 lines in the file, might give you an idea of what is going on, etc.
 
Old 03-27-2004, 01:48 PM   #8
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Quote:
Originally posted by trickykid
Using a terminal or the console, easy way to view it and maybe just the last portion of the file so you don't load the whole thing would be to do this:

tail -50 .xsession-errors

That will print the last 50 lines in the file, might give you an idea of what is going on, etc.
Personally, I'd delete it. I'd be more concerned if there was a 12GB error file for the users.
 
Old 03-28-2004, 02:24 PM   #9
AbsoluteMonkey
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora Core 10
Posts: 58

Original Poster
Rep: Reputation: 15
Yea I just deleted it. I guess it was logging every second the errors of not finding some domain on the network. Running for three days it logged 265,200 errors. Each 100 characters or so. So I guess all that adds up.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
disk space problem - X doesn't start !!! fleuh Linux - Newbie 6 06-23-2004 12:07 PM
problem with disk space. bengo Slackware 5 10-02-2003 01:38 AM
Disk Space Problem bigmember Linux - Software 2 07-04-2003 12:41 PM
Disk space problem J_Szucs Linux - Newbie 8 11-21-2001 04:32 PM


All times are GMT -5. The time now is 01:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration