Hi there --
I am unable to get an NFS share to mount on our systems. The servers and clients are all Fedora Core 2 systems. When an attempt is made to mount a share that is supposedly exported by the server, a Permission Denied error message appears on-screen.
The /etc/exports file on the exporting server has the following entries:
Code:
/apps 132.183.220.0/24(no_root_squash,rw,nohide)
/apps 132.183.12.115(no_root_squash,rw,nohide)
/apps 132.183.12.11(no_root_squash,rw,nohide)
/apps2 132.183.12.115(no_root_squash,rw,nohide)
/apps2 132.183.12.11(no_root_squash,rw,nohide)
The exportfs -rav command has the following output:
Quote:
exportfs: /etc/exports [1]: No 'sync' or 'async' option specified for export "132.183.220.0/24:/apps".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions
exportfs: /etc/exports [2]: No 'sync' or 'async' option specified for export "132.183.12.115:/apps".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions
exportfs: /etc/exports [3]: No 'sync' or 'async' option specified for export "132.183.12.11:/apps".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions
exportfs: /etc/exports [4]: No 'sync' or 'async' option specified for export "132.183.12.115:/apps2".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions
exportfs: /etc/exports [5]: No 'sync' or 'async' option specified for export "132.183.12.11:/apps2".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions
exporting rtp41.mgh.harvard.edu:/apps2
exporting rtp60.mgh.harvard.edu:/apps2
exporting rtp41.mgh.harvard.edu:/apps
exporting rtp60.mgh.harvard.edu:/apps
exporting 132.183.220.0/24:/apps
|
By all accounts the clients should be able to mount the fileshares in question. However, when the attempt is made, it fails. The output from an attempt made by a client on the 220 subnet is as follows:
Quote:
[admin@rtp34 admin]$ sudo mount pxio1:/apps /mnt/apps
Password:
mount: pxio1:/apps failed, reason given by server: Permission denied
|
A check of the /var/log/messages file on the server has the following entry:
Quote:
pxio1 rpc.mountd: refused mount request from rtp34.mgh.harvard.edu for /apps (/): not exported
|
The server thinks the directory in question is not exported, which is contrary to what is listed in the exports file. I have verified that the nfs and nfslock services are running on the server, and that the firewall has been deactivated as well. The DNS service is also configured and running. This has been confirmed by running nslookup on several hosts that are supposed to be able to mount the NFS shares, and getting the correct hostnames with their appropriate addresses.
What am I missing here, and what do I need to do in order to correct it? Thanks.