× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Trouble with NFS Mount and File Permissions

tooley
Follower

Trouble with NFS Mount and File Permissions

We're attempting to mount and share a created folder on the ReadyNAS via NFS with a linux serer on the network.

- the exports file on the readynas seems to be set for the server (172.16.16.11)

root@readyNAS:/# more /etc/exports
"/data/NFS3" *(insecure,insecure_locks,root_squash,anongid=99,anonuid=99,no_subtree_check,rw,sync) 172.16.16.11(inse
cure,insecure_locks,no_subtree_check,rw,no_root_squash,sync)


- the file permissions seem to allow read/write to the directory on the readyNAS:

lrwxrwxrwx 1 root root 19 Apr 16 16:32 NFS3 -> /run/nfs4/data/NFS3


- the server /etc/fstab is set as follows:

[root@server etc]# more /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/boot1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/sda3 swap swap defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/sda2 /mnt/fedora ext3 defaults 0 0
/dev/sde1 /user1 auto rw,auto,nouser,exec 0 0
#/dev/sdc1 /mnt/usb_sdc1 vfat rw,noauto,nouser,exec 0 0
/dev/sdf1 /mnt/usb_external ext3 rw,noauto,nouser,exec 0 0
stalag:/NFS1 /mnt/stalag/NFS1 nfs rw,noauto,nouser,exec,_netdev,hard 0 0
stalag:/NFS2 /mnt/stalag/NFS2 nfs rw,noauto,nouser,exec,_netdev,hard 0 0
readyNAS:/NFS3 /mnt/stalag2/NFS3 nfs rw,noauto,nouser,exec,_netdev,hard 0 0


HERE IS THE ERROR MESSAGE WHEN WE TRY TO MOUNT:

[root@hogan etc]# mount stalag2:/NFS3
mount: stalag2:/NFS3 failed, reason given by server: Permission denied



Not sure what to do next. Any help would be greatly appreciated.
Message 1 of 1
Top Contributors
Discussion stats
  • 0 replies
  • 1610 views
  • 0 kudos
  • 1 in conversation
Announcements