Hi
I'm having the following NFS problem, the mount point is writable but it will prompt permission denied in the midst of reading/writing, but no issue on writing dd locally .
The system is FreeBSD 10.2-RELEASE-p24
my mount point has configured as below:
Below is my NFS setting
I'm having the following NFS problem, the mount point is writable but it will prompt permission denied in the midst of reading/writing, but no issue on writing dd locally .
The system is FreeBSD 10.2-RELEASE-p24
Code:
root@storage:/mnt # mount -t nfs localhost:/vol/test /mnt/test/
root@storage:/mnt # cd test/
root@storage:/mnt/test # dd if=/dev/zero of=test bs=1M
dd: test: Permission denied
9138+0 records in
9137+0 records out
9580838912 bytes transferred in 7.471400 secs (1282335156 bytes/sec)
root@storage:/mnt/test # ls -al
total 2
drwxr-xr-x 2 root wheel 3 Dec 13 11:33 .
drwxr-xr-x 4 root wheel 4 Dec 13 10:58 ..
-rw-r--r-- 1 root wheel 9580838912 Dec 13 11:42 test
my mount point has configured as below:
Code:
NAME PROPERTY VALUE SOURCE
vol/test sharenfs -maproot=root -alldirs local
Below is my NFS setting
Code:
# NFS
nfsv4_server_enable="YES"
rpcbind_enable="YES"
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 16"
mountd_flags="-r"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"