Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No space left on device when emerging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
goldish
n00b
n00b


Joined: 17 Dec 2005
Posts: 25

PostPosted: Wed Dec 21, 2005 12:13 pm    Post subject: No space left on device when emerging Reply with quote

Hi!

I've got a slightly weird problem.

Whenever I try to emerge a new package, I get errors like this:

tar: netpbm-10.29/pm_config.in.h: Cannot write: No space left on device

And of course the resulting No such file or directory when trying to access the file. I'm a bit confused because I'm pretty certain that I've got space left... and if I don't have space left how can I reclaim it? I rencetly emerge'd armyops which has a 700MB or so download, and now that is installed I'm pretty sure I can delete the installer.

Thanks for any help :)
Back to top
View user's profile Send private message
RuiP
l33t
l33t


Joined: 15 Jan 2005
Posts: 643

PostPosted: Wed Dec 21, 2005 12:20 pm    Post subject: Reply with quote

df -h will show you the space in your partitions.

save dirs to clean:
/tmp
/var/tmp/portage/ (this one can get a lot of garbage, specially after broken emerges. e.g. incomplete OOo compilations can leave 4G here...)
/home/<yourusername>/.thumbnails
/root/.ccache
/var/log/ccache
/usr/portage/distfile (you can delete old versions and keep new ones cause some times upgrades just patch current versions)

among others...
Back to top
View user's profile Send private message
goldish
n00b
n00b


Joined: 17 Dec 2005
Posts: 25

PostPosted: Wed Dec 21, 2005 12:33 pm    Post subject: Reply with quote

Fantastic! Thanks a lot :)

I'm now starting to think 10GB might not be enough for my root filesystem. I mounted /home to a 40GB drive, since I thought the majority of the big stuff would go in there but perhaps not!
Back to top
View user's profile Send private message
RuiP
l33t
l33t


Joined: 15 Jan 2005
Posts: 643

PostPosted: Wed Dec 21, 2005 12:44 pm    Post subject: Reply with quote

it will depend of what you do... If you write a lot of documents in MSWord format (bigger then OpenOffice ones) or save/create/edit a lot of videos or big professional image with a lot of layers, then a big home is a good thing...
I do some of that things and a 15G is enough for me.
I used a little less then 10 G for root (/) for while (now i several partitions for system) and it was sufficient.
Cleannig is always good anyway :)
Usually is /usr who grows a lot when installing apps.

here some other useful comands:
du (disk usage)
du -s (for short version of above)
cp -a (copy preserving all permitions and ownerships)

if you want to enlarge your system space you can create a separated /usr, /var or /tmp partition, cp -a your actual dir to the new one, change /etc/fstab and do a remount or a reboot.

Have fun ;)
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Wed Dec 21, 2005 2:42 pm    Post subject: Reply with quote

Moved from Desktop Environments to Duplicate Threads, please see this FAQ.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum