Sorry I should have posted. mountd, portmap, and also the appropriate services are running on the server portmap and nfsd.
less related: mc and ssh with a fast network isn't my idea of fun. John Tate On Fri, Nov 11, 2011 at 7:57 PM, Jan Stary <h...@stare.cz> wrote: > On Nov 11 17:40:01, John Tate wrote: >> Fixed that now getting... >> # mount smass:/home /mhome/ >> Cannot MNT PRC: RPC: Program not registered > > is mountd even running? > > >> On Fri, Nov 11, 2011 at 5:38 PM, John Tate <j...@johntate.org> wrote: >> > This is what I am getting... >> > >> > in /var/log/daemon >> > Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr >> > >> > >> > On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei <bsdlis...@gmail.com> wrote: >> >> >> >> >> >> On Wed, 9 Nov 2011, John Tate wrote: >> >> >> >>> Misc, >> >>> >> >>> I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. >> >>> >> >>> # cat >> >>> /etc/exports >> >>> # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ >> >>> # >> >>> # NFS exports Database >> >>> # See exports(5) for more information. Be very careful: >> misconfiguration >> >>> # of this file can result in your filesystems being readable by the >> world. >> >>> >> >>> /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 >> >>> >> >>> # ps ax | grep nfs >> >>> 10290 ?? I 0:00.00 nfsd: server (nfsd) >> >>> 24226 ?? I 0:00.00 nfsd: server (nfsd) >> >>> 5635 ?? I 0:00.00 nfsd: server (nfsd) >> >>> 15980 ?? I 0:00.00 nfsd: server (nfsd) >> >>> >> >>> # hostname >> >>> smass.kab.loc >> >>> >> >>> Perhaps network should be 10 not 10.0.0 ? I doubt it because the server >> >>> 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. >> >>> >> >>> # mount -t nfs smass:/home /net/smass/home >> >>> mount_nfs: can't access /home: Permission denied >> >>> # hostname >> >>> rothbard.kab.loc >> >>> >> >>> John Tate >> >>> >> >>> >> >> Check the permissions on the exported directory and make sure you've >> >> restarted the NFS server. These are the most common causes for >> >> "permission denied" errors with NFS that I encountered. >> >> >> > >> > >> > >> > -- >> > www.johntate.org >> > >> >> >> >> -- >> www.johntate.org > On Fri, Nov 11, 2011 at 8:10 PM, Otto Moerbeek <o...@drijf.net> wrote: > On Fri, Nov 11, 2011 at 09:57:34AM +0100, Jan Stary wrote: > >> On Nov 11 17:40:01, John Tate wrote: >> > Fixed that now getting... >> > # mount smass:/home /mhome/ >> > Cannot MNT PRC: RPC: Program not registered >> >> is mountd even running? > > and portmap for that matter? > > -Otto > >> >> >> > On Fri, Nov 11, 2011 at 5:38 PM, John Tate <j...@johntate.org> wrote: >> > > This is what I am getting... >> > > >> > > in /var/log/daemon >> > > Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr >> > > >> > > >> > > On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei <bsdlis...@gmail.com> wrote: >> > >> >> > >> >> > >> On Wed, 9 Nov 2011, John Tate wrote: >> > >> >> > >>> Misc, >> > >>> >> > >>> I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. >> > >>> >> > >>> # cat >> > >>> /etc/exports >> > >>> # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ >> > >>> # >> > >>> # NFS exports Database >> > >>> # See exports(5) for more information. Be very careful: >> > misconfiguration >> > >>> # of this file can result in your filesystems being readable by the >> > world. >> > >>> >> > >>> /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 >> > >>> >> > >>> # ps ax | grep nfs >> > >>> 10290 ?? I 0:00.00 nfsd: server (nfsd) >> > >>> 24226 ?? I 0:00.00 nfsd: server (nfsd) >> > >>> 5635 ?? I 0:00.00 nfsd: server (nfsd) >> > >>> 15980 ?? I 0:00.00 nfsd: server (nfsd) >> > >>> >> > >>> # hostname >> > >>> smass.kab.loc >> > >>> >> > >>> Perhaps network should be 10 not 10.0.0 ? I doubt it because the server >> > >>> 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. >> > >>> >> > >>> # mount -t nfs smass:/home /net/smass/home >> > >>> mount_nfs: can't access /home: Permission denied >> > >>> # hostname >> > >>> rothbard.kab.loc >> > >>> >> > >>> John Tate >> > >>> >> > >>> >> > >> Check the permissions on the exported directory and make sure you've >> > >> restarted the NFS server. These are the most common causes for >> > >> "permission denied" errors with NFS that I encountered. >> > >> >> > > >> > > >> > > >> > > -- >> > > www.johntate.org >> > > >> > >> > >> > >> > -- >> > www.johntate.org > On Fri, Nov 11, 2011 at 10:35 PM, Benny Lofgren <bl-li...@lofgren.biz> wrote: > On 2011-11-11 07.40, John Tate wrote: >> Fixed that now getting... >> # mount smass:/home /mhome/ >> Cannot MNT PRC: RPC: Program not registered > > Your mountd and/or portmap most likely isn't running. > > Have you followed the instructions in the FAQ? If not, backtrack > all your efforts, read up on what to do and try again. > > http://www.openbsd.org/faq/faq6.html#NFS > man portmap > man nfsd > man mountd > man exports > > > Regards, > /Benny > > >> On Fri, Nov 11, 2011 at 5:38 PM, John Tate <j...@johntate.org> wrote: >>> This is what I am getting... >>> >>> in /var/log/daemon >>> Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr >>> >>> >>> On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei <bsdlis...@gmail.com> wrote: >>>> >>>> >>>> On Wed, 9 Nov 2011, John Tate wrote: >>>> >>>>> Misc, >>>>> >>>>> I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system. >>>>> >>>>> # cat >>>>> /etc/exports >>>>> # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ >>>>> # >>>>> # NFS exports Database >>>>> # See exports(5) for more information. Be very careful: >> misconfiguration >>>>> # of this file can result in your filesystems being readable by the >> world. >>>>> >>>>> /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0 >>>>> >>>>> # ps ax | grep nfs >>>>> 10290 ?? I 0:00.00 nfsd: server (nfsd) >>>>> 24226 ?? I 0:00.00 nfsd: server (nfsd) >>>>> 5635 ?? I 0:00.00 nfsd: server (nfsd) >>>>> 15980 ?? I 0:00.00 nfsd: server (nfsd) >>>>> >>>>> # hostname >>>>> smass.kab.loc >>>>> >>>>> Perhaps network should be 10 not 10.0.0 ? I doubt it because the server >>>>> 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work. >>>>> >>>>> # mount -t nfs smass:/home /net/smass/home >>>>> mount_nfs: can't access /home: Permission denied >>>>> # hostname >>>>> rothbard.kab.loc >>>>> >>>>> John Tate >>>>> >>>>> >>>> Check the permissions on the exported directory and make sure you've >>>> restarted the NFS server. These are the most common causes for >>>> "permission denied" errors with NFS that I encountered. >>>> >>> >>> >>> >>> -- >>> www.johntate.org >>> >> >> >> >> -- >> www.johntate.org >> > > -- > internetlabbet.se / work: +46 8 551 124 80 / "Words must > Benny Lofgren / mobile: +46 70 718 11 90 / be weighed, > / fax: +46 8 551 124 89 / not counted." > / email: benny -at- internetlabbet.se > -- www.johntate.org