Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage tmp dir on a SAMBA share?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hermansen
n00b
n00b


Joined: 08 Nov 2003
Posts: 1

PostPosted: Sat Nov 08, 2003 3:14 pm    Post subject: Portage tmp dir on a SAMBA share? Reply with quote

I have installed Gentoo on a laptop with 3,6 GB of disk space. In order to do faster compiling, I have setup Distcc, which works just fine. To gain more space, I moved the /portage/distfiles to a SAMBA share, which works whithout any problems.

Now I would like to place my portage temp dir (in my case /var/tmp/portage) on network drive on a SAMBA share. I read in the instructions for Distcc that PORTAGE_TMPDIR should be removed from the make.conf file, but if I do this, my portage temp dir is automatically placed locally in /var/tmp/portage (although I place .distcc on the network drive). What happens, when I define PORTAGE_TMPDIR to be a network drive on a SAMBA share is the following:


!!! File system problem. (ReadOnly? Out of space?)
!!! Perhaps: rm-Rf /mnt/hermansen2/portage
!!! [Errno 1] Operation not permitted: '/mnt/hermansen2/portage


I have put in the following in smb.conf at my share:

writeable=yes
create mask = 0777
directory mask = 0777

So I would think, that the permissions should be right? (I gave the root user a smbpassword, so I log on as root.)[/i]
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Nov 08, 2003 4:39 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
marschw
n00b
n00b


Joined: 04 Jun 2003
Posts: 51

PostPosted: Sun Nov 09, 2003 8:14 am    Post subject: Reply with quote

I have the same problems, and I've tried both a samba share and an nfs share. Interestingly, I was able to get further with an shfs PORTAGE_TMPDIR, but it still failed due to permission-related things.

-=Marcus
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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