Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-19-2017, 10:28 AM   #1
LQ Newbie
Registered: May 2011
Posts: 17

Rep: Reputation: 0
NFS mounting issue


I am having NFS server on my RHEL 5.4 and i want to mount it on my other client, for RHEL client its mounting but for Fedora client its not mounting, please help me to resolve this.

Below is my server config
[root@mindnic-05 ~]# exportfs
/usr/software   <world>
/home/u         <world>
[root@mindnic-05 ~]#
I am trying to mount on my Fedora linux, the mount command will get stuck

[root@mindlanf-7 ~]# cat /etc/fstab

# /etc/fstab
# Created by anaconda on Tue Jun  9 08:47:59 2015
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
UUID=ee87c9a8-a1a3-48cd-bb7e-d960e0714b0c /                       ext4    defaults        1 1
UUID=f3a6a244-d4dc-461a-9389-0ecdc6ac6033 /boot                   ext4    defaults        1 2
UUID=2e34523f-6c2b-4a49-a5a1-0b7486bc0340 /home                   ext4    defaults        1 2
UUID=de771f96-f29c-4e18-97aa-c490453722e1 swap                    swap    defaults        0 0
debugfs                 /debug                  debugfs defaults,noatime 0 0   /home/u         nfs     defaults        0 0       /usr/software                   nfs     defaults        0 0

[root@mindlanf-7 ~]# cd /usr/software/
[root@mindlanf-7 software]# ls
bin  test
[root@mindlanf-7 software]# cd
[root@mindlanf-7 ~]# mount -a
Its hung there itself, its not coming out unless we press ctrl + c

Please help me resolve this issue, its really hampering my work.

Old 06-20-2017, 11:56 AM   #2
Registered: Feb 2013
Distribution: Fedora 25, RHEL7, RHCI stack
Posts: 38

Rep: Reputation: Disabled
Lets split this into two parts

First is the mounting of the nfs share, second is the fstab file

If you run "mount /home/u", what is the result you get from that?
Old 06-22-2017, 04:46 AM   #3
LQ Newbie
Registered: May 2011
Posts: 17

Original Poster
Rep: Reputation: 0
Its the same we are facing the same issue even with this as well. its hung at below point

[root@mindlanf-7 ~]# mount -t nfs /home/u
Old 06-22-2017, 02:03 PM   #4
LQ Newbie
Registered: Jun 2017
Posts: 7

Rep: Reputation: Disabled
An NFS mount never ending can be due to a non-existent server, or a general network problem. Without more information, it is hard to tell where does it come from. Can you ping the server ?

Try to launch the same command with --verbose option.

Try dumping some traffic with tcpdump maybe, from the client, then from the server ? With option -w <outfile>, you can write the output to a pcap file for easier analysis with Wireshark (if your machines have cli only).

Maybe check your server's iptables to be sure that you allow traffic to your whole network ? Check the default nfs version used by the server, then by the client ?
Old 06-23-2017, 01:31 AM   #5
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Welcome to LQ & thanks for contributing the good ideas above, NdFeB!

There's also: showmount -e ; rpcinfo -p
(on the client, to see what server is 'offering')
And a mention of SELinux here (tho older F18).

My favorite tool is: strace -f [-o FILE] <command>
(to see what it's doing)

Last edited by Jjanel; 06-23-2017 at 02:08 AM.
Old 06-26-2017, 10:06 AM   #6
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
Try -o nolock option. If it works, then nfslock service not run on server or client part.


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
NFS mounting issue dorlack Linux - Newbie 2 08-02-2014 01:16 PM
Mounting NFS (CentOS5.6 x64bit) issue on CentOS6.4 x64bit sunnysthakur Linux - Server 1 10-01-2013 11:43 AM
[SOLVED] nfs mounting issue arunprasanna Linux - Networking 2 08-09-2011 10:30 AM
NFS + Autofs mounting issue vm_devadas SUSE / openSUSE 2 12-21-2007 06:25 AM
NFS Mounting Issue metallica1973 Linux - Networking 15 07-27-2006 06:51 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:33 PM.

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