LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-20-2012, 01:18 PM   #1
sljunkie
Member
 
Registered: Nov 2008
Location: Brazil
Distribution: Arch Linux/Fedora
Posts: 95

Rep: Reputation: 18
NFS on Fedora 17


Ok, so I installed the nfs packages, populated my /etc/exports with this line for testing:

Code:
/tmp	192.168.1.0/255.255.255.0(rw,no_root_squash)
And disabled the firewall just to make sure.

But when I try, as root, to mount this volume:

Code:
mount -t nfs 192.168.1.x:/tmp mnt/
Nothing happens. I check /var/log/messages and there's no output from that command...



EDIT: If I add a line exporting /tmp to 127.0.0.1 and:

Code:
mount -t nfs 127.0.0.1:/tmp mnt/
It works. Is this supposed to work this way?

EDIT: To make matters worse, I put the following in my /etc/sysconfig/nfs:

Code:
MOUNTD_PORT=4000
STATD_PORT=4001
LOCKD_TCPPORT=4002
LOCKD_UDPPORT=4003
Like the Fedora documentation stated but rpcinfo -p shows:

Code:
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  33298  status
    100024    1   tcp  56655  status
    100005    1   udp  20048  mountd
    100005    1   tcp  20048  mountd
    100011    1   udp    875  rquotad
    100011    2   udp    875  rquotad
    100011    1   tcp    875  rquotad
    100011    2   tcp    875  rquotad
    100005    2   udp  20048  mountd
    100005    2   tcp  20048  mountd
    100005    3   udp  20048  mountd
    100005    3   tcp  20048  mountd
Now what? I see firewall-headaches ahead...

Last edited by unSpawn; 10-20-2012 at 08:17 AM. Reason: //Move edit to new post, off the 0-reply list.
 
Old 09-20-2012, 01:18 PM   #2
sljunkie
Member
 
Registered: Nov 2008
Location: Brazil
Distribution: Arch Linux/Fedora
Posts: 95

Original Poster
Rep: Reputation: 18
NFS on Fedora 17

EDIT: Solved. Restored the original /etc/sysconfig/nfs and it worked. One thing I learned from Fedora is - it's supposed to work out-of-the-box, which is unusual for a Slacker like myself Just checked the NFS4 on the Firewall Configuration and I had no issues with the firewall... but someone must update the documentation on NFS, which is outdated for Fedora 17.

Last edited by unSpawn; 10-20-2012 at 08:17 AM. Reason: //Move edit to new post, off the 0-reply list now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Mounting nfs share from Fedora 14 to Fedora 5 vinaytp Linux - Newbie 1 05-25-2012 06:23 AM
Can't nfs mount from Fedora 16 NFS server. wdli Fedora 18 03-13-2012 01:59 PM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
nfs problem on fedora 3 anjani.78 Linux - Networking 1 04-03-2006 08:05 AM
NFS, NIS, and Fedora 2 jmoody Fedora 2 06-23-2004 05:50 AM


All times are GMT -5. The time now is 03:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration