NFS server OpenBSD 3.5

From: dfj (dj_at_swicked.net)
Date: 06/24/05


Date: 24 Jun 2005 06:35:42 -0700

Hi,
I've installed OpenBSD (3.5-GENERIC) on a machine, and i want to use it
as an NFS server so i created a directory called /exports that i would
like to use as the NFS "share" /exports is a mount point for wd0d which
is about 30Gb and is mounted at boot time. My NFS clients are running
slackware 10.1 and have the appropriate entries in their /etc/fstab to
mount from the OpenBSD server. Each client can mount the share with no
problems, but even though the output of `mount` on the slack machines
shows that the NFS is mounted rw, i am not able to create files or
directories, nor am i able to edit files. it's as if the NFS is
actually mounted ro. my /etc/exports file on the OpenBSD box is only
this line:

          /exports -alldirs -network 192.168.0.0 -mask 255.255.255.0

i have even tried adding `-rw` to the /etc/exports even though the
exports man page states that read-write is the default. I think i
should add `-mapall=<someuser>` but i'm not exactly sure if this is my
solution. the permissions on the /exports directory on the OBSD box is
0755 root/wheel, so my thinking is to create a group called something
like nfs, add my normal user account on the OpenBSD box to that group
and add the entry `-mapall=<useraccount>` to the /etc/exports file.

could someone please advise if this is an ideal method for setting up
an NFS server. Thanks in advance.

-DJ



Relevant Pages

  • Re: What linux lacks most - a decent remote fs
    ... | I thought that hard NFS mounts were a thing of the past--like the mid '90s. ... My previous workplace routinely ran jobs that took weeks. ... With a hard mount the job just stalls until the server's back, ... I don't have very much trouble at all with NFS, most of the people I have helped that have had issues read about some option that was suggested to use several years ago and went to using it on a current NFS server with less than good results. ...
    (Fedora)
  • RE: FC6 client fails to NFS mount from Solaris 8 server
    ... FC6 client fails to NFS mount from Solaris 8 server ... Solaris 10 box here. ... mount: mount to NFS server 'superfly' failed: timed out. ...
    (Fedora)
  • RE: FC6 client fails to NFS mount from Solaris 8 Cluster
    ... FC6 client fails to NFS mount from Solaris 8 server ... Solaris 10 box here. ... mount: mount to NFS server 'superfly' failed: timed out. ...
    (Fedora)
  • Re: [opensuse] Very slow initial response to mounting an NFS exported directory.
    ... What filesystem type are you trying to mount? ... with nfs mounts of 32-bit VFAT partitions in 11.1. ... mount.nfs: mount to NFS server 'rpcbind' failed: timed out, ... Tue Jul 21 12:53:34 CEST 2009 ...
    (SuSE)
  • Re: [SLE] running programs under nfs
    ... You can then mount them anywhere, ... On your NFS server, just export the directory where you installed the ... contributed programs that were not on the standard Unix distribution. ...
    (SuSE)