LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mapping an NFS share not working (https://www.linuxquestions.org/questions/linux-networking-3/mapping-an-nfs-share-not-working-180715/)

mijohnst 05-12-2004 12:28 PM

Mapping an NFS share not working
 
I'm havnig the hardest time trying to mount an nfs share from one RH9 to another RH9. Should be easy I would think, but I keep getting this:

[linuxclient@mnt] mount -t nfs 10.10.10.1:/mnt/cdrom /mnt/sharecd
mount: 10.10.10.1:/mnt/cdrom failed, reason given by server: Permission denied


Here is what I have configured:

##########################################################

##### /etc/export
/mnt/cdrom 10.10.10.2(rw,root_squash)


###### /etc/hosts.allow
10.10.10.2 linuxclient


###### Running Services
Starting NFS services [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemo : [ OK ]
Starting NFS mountd: [ OK ]


####### Exportfs
[linuxserver@mnt]# exportfs
/mnt/cdrom linuxclient.mydomain.com

#############################################################

What could I be doing wrong and what should I check? Thanks again for the help!

LuggerHouse 05-12-2004 12:44 PM

exportfs -a //maybe???

them mount yourmachine:/your_exact_mountPoint

mijohnst 05-12-2004 12:57 PM

I've tried that and I get this:


exportfs: /etc/exports [1]: No 'sync' or 'async' option specified for export "129.238.158.233:/mnt/cdrom".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions

Is this an error?

LuggerHouse 05-12-2004 01:13 PM

Quote:

Originally posted by mijohnst
I've tried that and I get this:


exportfs: /etc/exports [1]: No 'sync' or 'async' option specified for export "129.238.158.233:/mnt/cdrom".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions

Is this an error?

No not an error, just a warning saying your /etc/exports is missing a parameter, but this parm is going to be defaulted to a nice and safe value.

So mouting should now work (I hope!!)

mijohnst 05-12-2004 01:14 PM

Doh.. I figured it out... Thanks for all your help!


All times are GMT -5. The time now is 08:53 AM.