Results 1 to 6 of 6

Thread: How to clean up partition

  1. #1
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    455

    Default How to clean up partition

    I just noticed that my /dev/sda2 partition is almost full. why would this happen?


    davek@linux-fvw1:~> df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda2 20641788 17307824 2285340 89% /
    devtmpfs 960060 220 959840 1% /dev
    tmpfs 961504 224 961280 1% /dev/shm
    /dev/sda3 217650108 5007212 201586820 3% /home
    davek@linux-fvw1:~>

    How do I clean up it?
    Every boot up should clean up temp files

  2. #2
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    455

    Default Re: How to clean up partition

    looks like I found the fix...

    Clear Temp Files at Boot

    after reboot:

    davek@linux-fvw1:~> df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda2 20641788 3854624 15738540 20% /
    devtmpfs 960060 220 959840 1% /dev
    tmpfs 961504 224 961280 1% /dev/shm
    /dev/sda3 217650108 5011160 201582872 3% /home
    davek@linux-fvw1:~>

    much better. why isn't this set as default?

  3. #3
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,719
    Blog Entries
    20

    Default Re: How to clean up partition

    Question is - How on earth you filled /tmp so quickly (was this a new install)?

    Anyway you found my guide. :-)
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4
    Join Date
    Jan 2010
    Location
    Montreal, Quebec
    Posts
    103

    Default Re: How to clean up partition

    It happened to me right after a new install. I tried to sync my iPod with Banshee. My music library is 18 Go, and I realized that Banshee was copying it entirely in /tmp before copying it to the iPod ! I use gtkpod now...

  5. #5
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How to clean up partition

    vinoman2 wrote:
    > much better. why isn't this set as default?


    one reason might be that a good linux system administrator would
    notice the space filling up and take action (as you did)...good job
    (keep reading) *but* an excellent administrator would find how _why_
    it is filling up, and if it is due to some problem then s/he would
    endeavor to solve the underlying problem causing /tmp to fill up
    (rather than just deal with the symptom of the problem, which you did)..

    so, what was filling up your /tmp, and why?

    i can tell you that most well developed programs which use /tmp for
    their temporary needed files will clean up after themselves...and,
    they usually do that as part of their normal shut down routine (if not
    before)..

    of course, they can't do that if they crash, or if they are not shut
    down in the correct way (which will feel like a crash to the program)..

    so, i ask: are you having lots of program crashes? shutting down your
    machine by pulling the power cord out of the wall ;-) or what?

    i _guess_ that things like aborting a YaST software install might
    leave junk in your /tmp....and, so might a crashed torrent, or or or

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  6. #6
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    455

    Default Re: How to clean up partition

    Quote Originally Posted by caf4926 View Post
    Question is - How on earth you filled /tmp so quickly (was this a new install)?

    Anyway you found my guide. :-)
    yes, it was a new install.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •