Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] emerge-websync gives "no space left" error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
koensayr
n00b
n00b


Joined: 20 Sep 2007
Posts: 4

PostPosted: Sun Nov 27, 2016 6:47 pm    Post subject: [solved] emerge-websync gives "no space left" erro Reply with quote

Hello,

I am at the stage in the handbook after chroot and running emerge-webrxync.

I am getting Errors that says:
tar: portage/dev-java: Cannot mkdir: No space left on device.

However df -h shows:
1% use with 637G available on /

and df -i shows:
1% use with 44726806 IFree on /

After I cancelled the emerge command, I manually tried to create a directory in /usr/portage and that worked fine.

Does anyone have any idea why I am getting the no space error when emerge tries to create a new directory?


Last edited by koensayr on Mon Nov 28, 2016 11:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
brendlefly62
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2009
Posts: 133

PostPosted: Mon Nov 28, 2016 5:50 am    Post subject: Reply with quote

koensayr -- That sounds pretty strange. I know this thought pretty basic, but Is your system mounting multiple partitions on mountpoints under / (e.g. usr, tmp, var)? using tmpfs for /var/tmp? (i.e. you could have plenty of space and inodes on / but be short on one of those where portage unpacks). If it is, posting the output of "mount" and showing your /etc/fstab might help.

Sorry if you're already way beyond that - just thinking basics first.

cheers
Back to top
View user's profile Send private message
koensayr
n00b
n00b


Joined: 20 Sep 2007
Posts: 4

PostPosted: Mon Nov 28, 2016 2:16 pm    Post subject: Reply with quote

Thanks for the response, I had figured this out after many hours of digging just before your post.

You are dead on with your answer actually.

I will write a more detailed description of what exactly happened here so hopefully someone else who runs into this similar situation will be helped.

1. My /var is mounted from a different partition than /
2. emerge unpacks into /var/tmp during installation, and /var did not have enough space to unpack everything.
3* the error "tar: ...." message did not give the full path of where the disk had ran out of space. It just showed "portage/....." for directory, therefore, I was thinking it was saying /usr/portage had ran out of space, which was part of / and had plenty of space. Perhaps this can be fixed to show a more useful error message? I don't know if this is part of portage or if it is tar.
4. Apparently, after I cancel the emerge command using ctrl-c, it cleans up the temporary directory, so that when I do a df after cancelling, it shows /var as only being 4% full, this combined with the non-full-path given by the error message made it really difficult for me to figure out what was happening.

Hope this helps someone else in the future.
Back to top
View user's profile Send private message
guitou
Guru
Guru


Joined: 02 Oct 2003
Posts: 534
Location: France

PostPosted: Mon Nov 28, 2016 4:24 pm    Post subject: Reply with quote

Hello.
You may have /var/tmp being a link to /tmp
And if you got plenty of RAM, you may also have /tmp be a tmpfs

++
Gi)
Back to top
View user's profile Send private message
brendlefly62
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2009
Posts: 133

PostPosted: Mon Nov 28, 2016 4:32 pm    Post subject: Reply with quote

koensayr -- glad you have it worked out; don't forget to mark [solved] cheers
Back to top
View user's profile Send private message
koensayr
n00b
n00b


Joined: 20 Sep 2007
Posts: 4

PostPosted: Mon Nov 28, 2016 11:24 pm    Post subject: Reply with quote

Thanks. Didn't know about the custom of adding solved to the title. I have done so now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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