Results 1 to 10 of 10
i get 'no space left on device' when i try to run aptitude dist-upgrade.
df output looks like this:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 256243 256005 0 ...
- 09-16-2007 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 85
root partition is at 100%?
i get 'no space left on device' when i try to run aptitude dist-upgrade.
df output looks like this:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 256243 256005 0 100% /
udev 10240 96 10144 1% /dev
devshm 257564 0 257564 0% /dev/shm
/dev/hda8 28627152 17253144 9919824 64% /home
/dev/hda7 366072 38675 307866 12% /tmp
/dev/hda4 4806140 2286312 2275688 51% /usr
/dev/hda5 2883640 1356472 1380684 50% /var
/dev/sda 126710 1726 124984 2% /home/tmh/Desktop/sda
/dev/sdb 126710 1726 124984 2% /home/tmh/Desktop/sda
/var was at 100% too, but i managed to erase som crap from there. i can't figure out what to delete now, though.
- 09-16-2007 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
well, try to find the space wasters: here's a way
cd /
du -x | sort -nr >DUs
the files DUs will then list all files on the root partition,
largest first. Start deleting.the sun is new every day (heraclitus)
- 09-16-2007 #3forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,085
You should probably also consider expanding your root partition so this problem doesn't haunt you again in the future.
Check out the PartedMagic LiveCD for working with your partitions:
Parted Magic
It's a small download and burn to CD, it's easy to use, and it can run without Linux or Windows being installed on the machine.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 09-17-2007 #4Just Joined!
- Join Date
- Oct 2006
- Posts
- 85
thanks for your advice!
i ran the du, but what is safe to delete? i have no idea which are logfiles and which are important system files. here are the largest files:
247765 .
134269 ./lib
122931 ./lib/modules
60516 ./root
55324 ./root/.mozilla
55323 ./root/.mozilla/firefox
55320 ./root/.mozilla/firefox/qxioeel8.default
53708 ./root/.mozilla/firefox/qxioeel8.default/Cache
42576 ./lib/modules/2.6.18-3-powerpc
41740 ./lib/modules/2.6.18-3-powerpc/kernel
40343 ./lib/modules/2.6.17-2-powerpc
40011 ./lib/modules/2.6.16-2-powerpc
39313 ./lib/modules/2.6.17-2-powerpc/kernel
39019 ./lib/modules/2.6.16-2-powerpc/kernel
37332 ./boot
25921 ./lib/modules/2.6.18-3-powerpc/kernel/drivers
24292 ./lib/modules/2.6.17-2-powerpc/kernel/drivers
24039 ./lib/modules/2.6.16-2-powerpc/kernel/drivers
6308 ./lib/modules/2.6.18-3-powerpc/kernel/drivers/net
6063 ./lib/modules/2.6.16-2-powerpc/kernel/fs
6053 ./lib/modules/2.6.18-3-powerpc/kernel/fs
6008 ./lib/modules/2.6.17-2-powerpc/kernel/fs
5726 ./lib/modules/2.6.17-2-powerpc/kernel/drivers/net
5654 ./lib/modules/2.6.16-2-powerpc/kernel/drivers/net
5074 ./lib/modules/2.6.18-3-powerpc/kernel/net
4902 ./lib/modules/2.6.17-2-powerpc/kernel/net
4893 ./lib/modules/2.6.16-2-powerpc/kernel/net
4358 ./root/.thumbnails
4318 ./lib64
4271 ./lib/modules/2.6.18-3-powerpc/kernel/drivers/media
4269 ./root/.thumbnails/normal
4169 ./lib/modules/2.6.18-3-powerpc/kernel/sound
3945 ./bin
3852 ./etc
- 09-17-2007 #5
250MB is probably not enough for your / filesystem, even with your current partitioning scheme.
To correct this for now, you can delete /root/.mozilla. That will free up 54MB.
You know, it is a really bad idea to be running mozilla/firefox/<insert buggy user app here> as root... Totally unnecessary, and introduces risk.
- 09-17-2007 #6
its this very reason that I still don't understand with modern computers why people still partition this way, instead of all in one partition??
I can almost understand this for servers, but for desktops.
- 09-17-2007 #7Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
It makes more sense to partition this way, though you may not see that yet. The problem here isn't that there is a seperate root partition, it is that it is too small.
Having your /home or /tmp on the same partition as / introduces security problems even on *nix systems. Generally I would only seperate out /tmp and /home, occasionally /var too.
- 09-17-2007 #8Linux Newbie
- Join Date
- Feb 2006
- Location
- Dover, DE
- Posts
- 112
If you update your system regularly this might clear up some disk space as well:
Code:sudo apt-get autoclean
- 04-14-2011 #9Just Joined!
- Join Date
- Mar 2010
- Posts
- 2
- 04-14-2011 #10Just Joined!
- Join Date
- Mar 2010
- Posts
- 2
Hi
if you found /var/cache/logwatch/logwatch.* delete all folder namely logwatch.*




