View previous topic :: View next topic |
Author |
Message |
veilig Apprentice
Joined: 11 May 2005 Posts: 153
|
Posted: Wed Aug 30, 2006 1:41 pm Post subject: NFS portage from laptop during install [SOLVED] |
|
|
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 |
|
|
Strowi l33t
Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Wed Aug 30, 2006 1:49 pm Post subject: |
|
|
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 |
|
|
veilig Apprentice
Joined: 11 May 2005 Posts: 153
|
Posted: Wed Aug 30, 2006 1:56 pm Post subject: |
|
|
I already have my exports file setup and I have my hosts.allow file configured. still getting the error though. |
|
Back to top |
|
|
veilig Apprentice
Joined: 11 May 2005 Posts: 153
|
Posted: Wed Aug 30, 2006 2:20 pm Post subject: |
|
|
sorry guys...got it working.....I missed that itty witty colon ( when I was trying to mount.
thanks though! |
|
Back to top |
|
|
|