LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-12-2009, 09:24 PM   #1
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211
Blog Entries: 1

Rep: Reputation: 31
my / partition is getting loaded up....how to clean?


I've installed a few programs I use, many in fact, along with Xfce 4.6.0 and my / partition has gone from 4.39 gigs to 8.63 gigs. Total is 13 gigs. I've never seen it this high, ever. I sense that something is accumulating somewhere that can be cleaned out...am I right?
 
Old 04-12-2009, 10:04 PM   #2
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
The chances of your root partition getting close to 13gbs are rather dramatically low, assuming you have a seperate /home (storage partition), or /var if you run a server.
If you dont plan on installing many other things dont "clean" it. But its your system and you know what you dont need etc.
Noone can tell you what to get rid of if you dont know.
 
Old 04-12-2009, 10:26 PM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
a full install with a single partition with /home and /var or /usr as one is usual for Linux.
a full install of Slackware is around 7 gigs. or close
 
Old 04-12-2009, 10:38 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
I sense that something is accumulating somewhere that can be cleaned out...am I right?
Perhaps. Perhaps not. You installed many packages and the total storage could be as you report. On the other hand consider posting your partition scheme. If you do not use separate /home, /var, or /tmp partitions, those directories would be good candidates to investigate. There are several threads here at LQ addressing how to clean those directories.
 
Old 04-12-2009, 11:05 PM   #5
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
On this Dell Precision Laptop m4400, I have a / of 13 gigs, and /home of 70 gigs and a 2 gig swap. I've just never seen / so high with other distro's with same or more programs...I thought maybe a cache or something was building up from sbopkg, or what not...still learning my way around... It's dual boot with Vista Bus 64...so I still keep my photo's and music shared with the Vista partition. I.e. picasa scans off my /vista/users/john/et etc

Last edited by joutlancpa; 04-12-2009 at 11:06 PM.
 
Old 04-12-2009, 11:27 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Perhaps you have some ISO images consuming space? Possibly you have all the source files for the packages you created still on the partition?

As root you could try running find / -size +1G to find all files greater than 1GB in size.

You also could try du -hs on any suspect directory. As you did not list separate /var or /tmp partitions, try running du -hs on those directories.
 
Old 04-12-2009, 11:31 PM   #7
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by Woodsman View Post
Perhaps you have some ISO images consuming space? Possibly you have all the source files for the packages you created still on the partition?

As root you could try running find / -size +1G to find all files greater than 1GB in size.

You also could try du -hs on any suspect directory. As you did not list separate /var or /tmp partitions, try running du -hs on those directories.
Thanks...I'll check that....I did find the source files were still sitting around when I ran sbopkg utilities and deleted them. I'll recheck it and snoop around so I better know what's going on here. I'm just a CPA, not a hacker, and an old one at that, so some things take more effort than they used to
 
Old 04-13-2009, 03:49 AM   #8
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
If you use Slackbuild scripts and never clean up /tmp/, your / will grow a lot after some time.
Create (if you don't already have it) a file called /rc.local_shutdown and put it in /etc/rc.d.
Then put this line in it
Quote:
/usr/bin/find /tmp -mindepth 1 -maxdepth 1 -print0 | xargs -0r /bin/rm -fr
and make it executable.
That way, your /tmp/ will be cleaned automatically when you shutdown your computer.
 
Old 04-13-2009, 11:39 AM   #9
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
There are many ways to keep a system clean. Perhaps the following will help:

Removing Temporary Files and Clutter
 
Old 04-13-2009, 12:51 PM   #10
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by thezoid View Post
On this Dell Precision Laptop m4400, I have a / of 13 gigs, and /home of 70 gigs and a 2 gig swap. I've just never seen / so high with other distro's with same or more programs...
If you are reffering to Debian or Debian-based distributions thats more or less logical since Slackware doesnt split packages to foo-dev etc.
 
Old 04-13-2009, 02:15 PM   #11
dywanik
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Rep: Reputation: 0
I remember having tons of log files once so I deleted them and got like 500 MB of extra space. ;-)
 
Old 04-13-2009, 06:29 PM   #12
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
thanks all of you for that....I bet my /tmp is screaming to be cleaned...I'll make those file entries....great forum guys (and gals? any gals around here?

EDIT: My /tmp is 3.9 gigs !! that brings it download to reality....

Last edited by joutlancpa; 04-13-2009 at 07:04 PM.
 
Old 04-13-2009, 07:07 PM   #13
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by adriv View Post
If you use Slackbuild scripts and never clean up /tmp/, your / will grow a lot after some time.
Create (if you don't already have it) a file called /rc.local_shutdown and put it in /etc/rc.d.
Then put this line in it

and make it executable.
That way, your /tmp/ will be cleaned automatically when you shutdown your computer.
Great...thanks 3.9 gigs in my /tmp !!

EDIT: that script is not cleaning my /tmp....i've done something wrong....i put rc.local_shutdown into the /etc/rc.d directory with the line you posted. Is this correct? thanks, I'd like to automate this part of house cleaning

EDIT2: Didn't make it executable...duh....

Last edited by joutlancpa; 04-13-2009 at 10:23 PM.
 
  


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
Clean install keeping /home partition. digger95 Slackware 10 04-19-2008 03:28 AM
clean data from partition sporty *BSD 5 07-04-2007 03:15 AM
How to clean up partition table noranthon Linux - Newbie 27 02-11-2007 04:32 PM
clean Windows Partition Viruses by Linux ? medya Linux - Software 5 05-19-2006 06:35 AM
Loaded XP onto separate HD cant view linux partition dogmonkey Linux - Newbie 3 06-15-2002 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:07 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