LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-12-2004, 12:28 PM   #1
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Rep: Reputation: 31
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!
 
Old 05-12-2004, 12:44 PM   #2
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
exportfs -a //maybe???

them mount yourmachine:/your_exact_mountPoint

Last edited by LuggerHouse; 05-12-2004 at 12:45 PM.
 
Old 05-12-2004, 12:57 PM   #3
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Original Poster
Rep: Reputation: 31
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?
 
Old 05-12-2004, 01:13 PM   #4
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
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!!)
 
Old 05-12-2004, 01:14 PM   #5
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Original Poster
Rep: Reputation: 31
Doh.. I figured it out... Thanks for all your help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping Windows share, then mirror data loadedmind Linux - Networking 5 02-07-2008 03:25 AM
NFS group mapping to linux joel112 *BSD 1 02-07-2005 06:09 PM
mapping a NT 2000 share to a linux box andy_Wa2x Linux - Networking 3 08-26-2004 01:44 PM
UID Mapping for NFS without NIS jgombos Linux - Networking 1 07-27-2003 06:52 PM
mapping a SAMBA share with a login script Drizzt420 Linux - Software 2 07-19-2003 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration