Find the answer to your Linux question:
Results 1 to 5 of 5
Heh, more harddrive issues. But this one is perplexing. After getting the 'unable to write to /tmp; x session may exit with an error' message, I did a little research ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16

    Clean-sweep the Root Partition..?


    Heh, more harddrive issues. But this one is perplexing.

    After getting the 'unable to write to /tmp; x session may exit with an error' message, I did a little research and someone said that the fact that their root partition was full. So I checked mine, and sure enough, it was full.

    But now I'm puzzled. I keep my system files in seperate partition than the files I acquire, and I haven't installed anything recently, so why is it just now giving me this error/being full? The tmp folder is empty..what can I clean up/remove that's uneccessary for proper function and won't kill my whole boot process? Where can I find temporary files that need purging?

    I'm running Mepis 3.3.1.

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    An easy thing to do would be to clean the .deb packages files (sort of installation files, totaly useless to you):
    Code:
    apt-get clean
    and even
    Code:
    apt-get autoclean
    Plus, can you post the output of
    Code:
    df -h
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16
    Whee, you again. Thanks for your consistant help.

    I entered the commands as you gave them, the first one didn't return anything..was I supposed to add some variable to that? Entering the second returned :
    Reading Package Lists... Done
    Building Dependency Tree... Done

    So I assume it did something..

    And here are the results for df -h:
    Filesystem Size Used Avail Use% Mounted on
    /dev/hda1 3.0G 2.9G 0 100% /
    tmpfs 506M 0 506M 0% /dev/shm
    /dev/hda3 52G 33G 17G 67% /home
    /dev/hdd1 115G 99G 16G 87% /mnt/hdd1
    /dev/hdb2 37G 23G 15G 61% /mnt/hdb2

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by Quaenorde
    I entered the commands as you gave them, the first one didn't return anything..
    That's normal. It isn't suppose to return anything.

    Quote Originally Posted by Quaenorde
    /dev/hda1 3.0G 2.9G 0 100% /
    This is way too small for a root partition. You would need around 7G there (instead of 3G). I see you have plenty of space left in your /home partition. So I would suggest, make some backups (just to be on the safe side) and then use a LiveCD (like GParted) to resize your root and /home partition.

    http://gparted.sourceforge.net/livecd.php
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  6. #5
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16
    Alrighty, wish I'd known these things when I was initially installed Linux.

    Either way, my system is up and running, many thanks.

Posting Permissions

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