Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    My Ubuntu partition runneth over


    The result of running this command is:

    Code:
    lise-lise-HP-620:~$ df -i
    Filesystem        Inodes  IUsed     IFree IUse% Mounted on
    /dev/sda5         983040 966843     16197   99% /
    udev              215029    594    214435    1% /dev
    tmpfs             218672    509    218163    1% /run
    none              218672      6    218666    1% /run/lock
    none              218672      7    218665    1% /run/shm
    /dev/sda2      138498092 329586 138168506    1% /media/sda2
    /dev/sdb               0      0         0     - /media/HP_SW
    lise-lise-HP-620:~$
    I've solved the problem here and now by deleting 11,000 files I didn't need anymore, but there has to be a better strategry.

    Looking around reveals a lot of these guys:

    Code:
    /lib/modules/*/kernel/drivers/
    with about 4,300 files each. Can I delete something here? Or here:

    Code:
    /proc

  2. #2
    Linux User zenwalker's Avatar
    Join Date
    Feb 2010
    Location
    Inland Empire
    Posts
    376
    Not unless you want to reinstall the OS.
    I'd be very careful.
    "All that is required for evil to triumph is for a good human to say nothing"
    _______________________________________________| Salix, Puppy & antiX

  3. #3
    Uninstalling some older versions of Ubuntu seems like a good idea, so I'm going to try that.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    949
    Try running: apt-get autoremove it will clean up package no longer in use.

  6. #5
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,907
    Also running
    Code:
    sudo apt-get clean
    should clean up the apt cache which is in /var/cache/apt. You may also want to check /var/log to see if your log files are taking up a lot.
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!


    The Fifth Continent

Posting Permissions

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