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 12-31-2010, 03:20 AM   #1
krisen_nadasen
LQ Newbie
 
Registered: Nov 2010
Location: Pietermaritzburg, South Africa
Posts: 7

Rep: Reputation: 0
root directory 100% used


hi there

i have assigned 4G for my "/" directory, on slacware 10.2, and have not installed the GUI either. I am not sure wat files to look for that have been growin over time that has completely depleted my space. Think it would be log files, but dont know wer to find them
 
Old 12-31-2010, 04:41 AM   #2
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
This thread works for SUSE, but see if you can get some idea out of it for Slack.
http://www.linuxquestions.org/questi...device-839492/
 
Old 12-31-2010, 04:52 AM   #3
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and Welcome to LinuxQuestions,

If you haven't set up a separate partition for /var, then most likely your system is filling up space with the log files. Have a look in your /var/log directory, delete (or move to USB or another partition) all old log files and see if that solves your problem.

Kind regards,

Eric
 
1 members found this post helpful.
Old 12-31-2010, 05:56 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
du -h should give you information where is your space being eaten up.
 
1 members found this post helpful.
Old 12-31-2010, 06:01 AM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
Originally Posted by linuxlover.chaitanya View Post
du -h should give you information where is your space being eaten up.
Hi linuxlover.chaitanya,

Didn't you mean df -h to check available / used space? Depending on where the OP executes du -h this will print out lots of information at a very high speed. If not redirected to a file then this output will not serve the OP in my opinion.

Kind regards,

Eric
 
Old 12-31-2010, 06:23 AM   #6
krisen_nadasen
LQ Newbie
 
Registered: Nov 2010
Location: Pietermaritzburg, South Africa
Posts: 7

Original Poster
Rep: Reputation: 0
thanks alot for all the info guys, they all came in handy,n to erictra, n linuxlover,
checked the /var dir with du -h, and picked up all the space being used in /var/log,
a 2GB log file. removed it n no more probs.

THANKS
 
Old 12-31-2010, 06:27 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

You're welcome. In order to avoid this in the future you can set up logrotate to control the size of the log file so that it doesn't eat up all your space. Have a look at
Code:
man logrotate
If you consider your problem/question solved then please mark it as such using the Thread Tools.

Kind regards,

Eric
 
1 members found this post helpful.
Old 12-31-2010, 06:37 AM   #8
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You are welcome. You should read about logrotation as said by Eric. It should help you keep only certain logs and delete them after some specified time automatically.
 
Old 12-31-2010, 06:46 AM   #9
krisen_nadasen
LQ Newbie
 
Registered: Nov 2010
Location: Pietermaritzburg, South Africa
Posts: 7

Original Poster
Rep: Reputation: 0
thanks again wil def try that. but now its time to party into the new year. HAPPY NEW YEAR GUYS
 
Old 12-31-2010, 06:51 AM   #10
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Happy new year to you too.
 
Old 12-31-2010, 06:53 AM   #11
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
And a Happy Newyear from Spain to you too.
 
  


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 do I free up space on / directory as it is 100% full farnaw4u Linux - Server 2 05-05-2010 06:33 AM
Solaris 9 /var directory is at 100% rust8y Solaris / OpenSolaris 4 05-05-2006 06:54 PM
root 100% use amer_58 Linux - Newbie 17 03-13-2005 02:33 PM
How do I free up space on / directory? I'm at 100% in use diamonaj Linux - Newbie 1 01-17-2004 09:00 PM
HELP! - root directory "/" 100% CAPACITY JM_Fraser Linux - Software 11 11-28-2003 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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