> 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
Is "-all dirs" a typo, meaning "-alldirs"? Does that mean you are tying this up into the email? Please quote directly from the files. Is "10.1.1.1" and "255.255.255.0" just copypasted from the FAQ, or are they the actual values for your network? Is "user1" just copypasted? I mean, do you actually have "user1" on your NFS server? It might help if you showed us the whole /ec/exports. (Also, why are you exporting /tmp?) > and restarted mountd. > > showmount -e lists the export correctly, Is that 'showmount -e' run on the server, or 'showmount -e server' run from the client? > 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? Yes. > nfs_mount returned "Permission denied." > That was with just the mount command Please always quote the exact full command and the exact full output. "Permission denied" means that the server decided not not allow the client to mount the filesystem. Which makes your /etc/exports the suspect. > 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. So, you are mounting server:/tmp on the server? Why? Have you even tried mounting from the client? > -----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"

