Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Trouble with NFS Mount and File Permissions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-04-16
08:52 PM
2014-04-16
08:52 PM
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.
- 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
Labels: