Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2010 11:23:59 +0300
From:      alexs@ulgsm.ru
To:        FreeBSD-stable@freebsd.org
Subject:   Cannot write to nfsv4 share
Message-ID:  <20100227082359.GA11868@mail.ulgsm.ru>

next in thread | raw e-mail | index | archive | help

I have the same trable as Richard Mace
http://lists.freebsd.org/pipermail/freebsd-questions/2009-December/209334.html

nfs server
]>uname -a
FreeBSD bazar 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Feb 25 14:42:08 MSK 2010

In rc.conf:
nfs_server_enable="YES"
#nfs_server_flags="-u -t -n 16"
nfsv4_server_enable="YES"
nfsuserd_enable="YES"
mountd_flags="-r"
rpcbind_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
nfs_client_enable="YES"

in exports:
/exp/home                 -maproot=0:0 192.168.3.195 10.144.142.57
V4: /exp
/exp/fbsd71 /exp/ports /exp/distfiles /exp/fbsd_src/7.2/src /exp/fbsd_src/8.0/src /exp/fbsd_src/stable/src


]>showmount -e
Exports list on localhost:
/exp/ports                         Everyone
/exp/home                          192.168.3.195 10.144.142.57
10.144.142.54 
/exp/fbsd_src/stable/src           Everyone
/exp/fbsd_src/8.0/src              Everyone
/exp/fbsd_src/7.2/src              Everyone
/exp/fbsd71                        Everyone
/exp/distfiles                     Everyone




On client

]>uname -a
FreeBSD skuns.gsm900.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #2: Wed Jan
20 10:55:34 MSK 2010


in rc.conf:
nfsuserd_enable="YES"
nfscbd_enable="YES"
nfs_client_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
rpcbind_enable="YES"

in fstab
10.144.140.160:/distfiles     /exp/distfiles    nfs   rw,nfsv4,noauto  0  0


try to mount /exp/distfiles
]>mount /exp/distfiles 
]>

try to write
]>touch /exp/distfiles/t
touch: /exp/distfiles/t: Permission denied


ls and read files ok.


p.s.
showmount on server dosnt show clients when client has mounted share.
 



-- 
alexs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100227082359.GA11868>