Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NFS portage from laptop during install [SOLVED]
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
veilig
Apprentice
Apprentice


Joined: 11 May 2005
Posts: 153

PostPosted: Wed Aug 30, 2006 1:41 pm    Post subject: NFS portage from laptop during install [SOLVED] Reply with quote

hi, I'm trying to NFS my portage tree from my laptop while I reinstall gentoo on my desktop. I don't have internet on my desktop so I can't download anything to it.

I've got the NFS daemon running, and I'm able to ping between my desktop and laptop
but for some reason, I can't mount my portage tree on my laptop onto my desktop. I keep getting this error:
Code:
mount: special device 192.168.1.103/usr/portage does not exist


any ideas why this is happening?


Last edited by veilig on Wed Aug 30, 2006 2:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Wed Aug 30, 2006 1:49 pm    Post subject: Reply with quote

hi,

If you want to export a directory with NFS, you have to add it to /etc/exports.

here is the relevant part of mine:

Code:

# /etc/exports: NFS file systems being exported.  See exports(5).

/usr/portage            192.168.2.0/24(rw,async,no_root_squash,no_subtree_check,nohide)


Furthermore you'll have to change the access permissions at least to this:
Code:

portmap:     192.168.2.0/255.255.255.0
mountd:      192.168.2.0/255.255.255.0
lockd:         192.168.2.0/255.255.255.0
statd:          192.168.2.0/255.255.255.0
rquotad:      192.168.2.0/255.255.255.0


This would allow all computers with an ip address of 192.168.2.* access to the nfs share.
After that restart nfs and it should work.
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
veilig
Apprentice
Apprentice


Joined: 11 May 2005
Posts: 153

PostPosted: Wed Aug 30, 2006 1:56 pm    Post subject: Reply with quote

I already have my exports file setup and I have my hosts.allow file configured. still getting the error though.
Back to top
View user's profile Send private message
veilig
Apprentice
Apprentice


Joined: 11 May 2005
Posts: 153

PostPosted: Wed Aug 30, 2006 2:20 pm    Post subject: Reply with quote

sorry guys...got it working.....I missed that itty witty colon (:) when I was trying to mount.
thanks though!
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