Skip to main content

Thread: Making room and hard drive problems


in system monitor showing / partition 99% full, had installed both kde , xfce desktops try 'em out, after seeing figured better remove hem make more room. opened synaptic package manager selected them both , ones came them "completely remove" removed lot of games i'll never use, re booted. when checked system monitor again still 99% full if nothing had been removed. pulled disk usage analyzer , found strange things, /log taking 9+ gig, windoz xp partition mounted @ /media , taking 4+ gig (fresh non updated install). in system monitor windoz xp partition shown "blkfuse" instead or "ntfs" (from recollection), unmounted , can't remount)

here's questions; how can safely determine , remove log files taking space?

why after removing stuff did no more free space?

why windoz partition taking room on ubuntu root partition?

shouldn't windoz partition mount @ "/mount" "ntfs" , not register taking space on ubuntu partition , if how fix this?

i think windows , maybe others use fuseblk system.
http://en.wikipedia.org/wiki/filesystem_in_userspace

deleting not free space moved trash.

housecleaning:

howto: recover lost disk space - drs305
http://ubuntuforums.org/showthread.php?t=1122670
howto: cleaning unnecessary junk files...
http://ubuntuforums.org/showthread.php?t=140920
caution deborphan delete manually installed. see comment:
better use synaptic select ones no longer want. notified dependencies removed , can reconsider, if need be.
http://lifehacker.com/5817282/what-k...on-my-linux-pc

housekeeping:
sudo apt-get update #resync package index
sudo apt-get upgrade #newest versions of packages, update must run first
sudo apt-get autoremove #removes depenancies no longer needed
# removes .deb
sudo apt-get autoclean # removes files cannot downloaded anymore (obsolete)
more?
sudo apt-get dist-upgrade #updates dependancies

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

# empty trash
# remove log files if no issues
cd /var/log
sudo rm -f messages.*
sudo rm -v /var/log/*.gz

check files tilde
find $home -type f -name "*~" -print
delete them, have no hidden backups.
find $home -type f -name "*~" -print -exec rm {} \;

#check large files:
sudo du -h --max-depth=1 / | grep '[0-9]g\>' # folders larger 1gb
sudo find / -name '*' -size +1g # files larger 1gb
find . -maxdepth 1 -type d ! -name . -exec du -sh '{}' \; | sort -h
dpkg-query -wf '${installed-size}\t${package}\n' | sort -n
gksudo nautilus /root/.local/share/trash/files # sure enable viewing of hidden files.

trash
here these files reside.

* ~/.local/share/trash user's trash (hardy , later)
* ~/.trash user's trash (pre-hardy)
* /root/.local/share/trash system trash (hardy , later)
* /root/.trash system trash (pre-hardy):
* /.local/share/.trash-1000 ntfs/fat32/etc: trash deleted in these partitions placed in trash bin named in accordance user deleting file, e.g. -1000, 1002, -0, etc

rm -rf ~/.local/share/trash/*
use -ri options, prompts each file deletion safer.

if permission problems try slip sudo in front of commands, sure path correct rm can dangerous command.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Making room and hard drive problems


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account