ERRATA
"Since the output rom rpcinfo is from the response
from mountd, it would appear to be working (10.1.1.1:/tmp is exported)."
Should be
Since the output from showmount is from the response
from mountd, it would appear to be working (10.1.1.1:/tmp is exported).
Excuse me.
-----Original Message-----
From: Giridhari
Sent: Friday, January 20, 2012 3:04 PM
To: [email protected]
Subject: Re: Program not registered
Thankyou all for such prompt replies.
I have confirmed that portmap, mountd and nfs are all reported as running by
rpcinfo, just like it says in the faq.
I have concentrated on the server first.
What I have done: Exactly what the faq says for setting up NFS. I have added
a line in /etc/exports
/tmp -all dirs -maproot=user1 -network=10.1.1.1 -mask=255.255.255.0
and restarted mountd.
showmount -e lists the export correctly, corresponding to the exports file
in the /etc/exports file. Since the output rom rpcinfo is from the response
from mountd, it would appear to be working (10.1.1.1:/tmp is exported).
showmount -a does not show anything though; does this only show what is
actually mounted, not just exported?
So, still on the server, I tried mounting 10.1.1.1:/tmp but nfs_mount
returned "Permission denied." That was with just the mount command- as
suggested by lilit-aibolit - allowing mount to select the
filesystem-specific program itself.
I should be able to mount an NFS on the server it is exported from shouldn't
I? I'm pretty sure I've done this before, though maybe not on OpenBSD.
-----Original Message-----
From: lilit-aibolit
Sent: Thursday, January 19, 2012 11:54 PM
To: [email protected] ; [email protected]
Subject: Re: NFS : RPC: Program not registered
19.01.2012 13:29, Giridhari P?P8QP5Q:
HELO.
I am following http://openbsd.org/faq/faq6.html#NFS and have the server
running, and showmount shows an export but on the client when I get to the
line in the faq
# mount -t nfs 10.0.0.1:/work /mnt
and adapt it to the setup I have here I get the message
RPC: Program not registered
I did a bit of searching but couldnbt find anything for OpenBSD about
this.
Everything else in the faq has worked fine.
What am I doing wrong?
Giridhari
.
try mount without "-t nfs"
also be sure /mnt is created on clinet
also try "sudo mount"