PDA

View Full Version : NFS mount failed RPCPROG_MNT: RPC: Timed out


bforest
02-03-2012, 01:24 PM
Hello All,

Any assistance will be greatly appreciated!

I am attempting to mount an NFS share from a PCBSD workstation. [FYI, I have worked on this problem for some time and tried many different things but for simplicity, Here is basically what is happening and I will follow any direction you suggest.

System Information
Hostname homenas2.local
FreeNAS Build FreeNAS-8.0.3-RELEASE-p1-x64 (9591)
Platform AMD Athlon(tm) II X2 255 Processor
Memory 8175MB
System Time Fri Feb 3 07:53:25 2012
Uptime 7:53AM up 1 day, 23:44, 1 user
Load Average 0.00, 0.00, 0.00
OS Version FreeBSD 8.2-RELEASE-p6

# uname -a
FreeBSD workstation5 9.0-RELEASE FreeBSD 9.0-RELEASE #3: Tue Dec 27 21:59:00 UTC 2011 root@build9x64.pcbsd.org:/usr/obj/builds/i386/pcbsd-build90/fbsd-source/9.0/sys/GENERIC i386

FreeNAS NFS share configuration attached: Screenshot-02032012-08:16:30.jpg

[PCUser@ws5] ~/Desktop> su - root
Password:
[root@ws5] ~# ls -la /mnt
total 16
drwxr-xr-x 4 root wheel 512 Jan 30 08:35 .
drwxr-xr-x 21 root wheel 1024 Feb 2 23:31 ..
drwxr-xr-x 2 root wheel 512 Jan 30 08:34 nas1
drwxr-xr-x 2 root wheel 512 Jan 30 08:34 nas2
[root@ws5] ~# cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass
/dev/label/rootfs0 / ufs rw,noatime 1 1
/dev/label/swap0 none swap sw 0 0
/dev/label/var0 /var ufs rw,noatime 1 1
/dev/label/usr0 /usr ufs rw,noatime 1 1
procfs /proc procfs rw 0 0
linprocfs /compat/linux/proc linprocfs rw 00
homenas2:/mnt/dpool1 /mnt/nas2 nfs rw,rsize=4096,noauto 0 0
[root@ws5] ~# mount /mnt/nas2
[tcp] homenas2:/mnt/dpool1: RPCPROG_MNT: RPC: Timed out
^C
[root@ws5] ~# mount /mnt/nas2
[tcp] homenas2:/mnt/dpool1: RPCPROG_MNT: RPC: Timed out
^C
[root@ws5] ~#

[user1@homenas2] /> su - root
Password:
[root@homenas2] ~# tail -f /var/log/messages
Feb 1 09:55:17 homenas2 freenas: Starting statd.
Feb 1 09:55:17 homenas2 freenas[1741]: Executing: /usr/sbin/service lockd quietstart
Feb 1 09:55:17 homenas2 freenas: Starting lockd.
Feb 1 09:55:17 homenas2 freenas[1741]: Executing: /bin/pgrep nfsd
Feb 2 05:14:12 homenas2 ntpd[1494]: kernel time sync status change 6001
Feb 2 05:31:17 homenas2 ntpd[1494]: kernel time sync status change 2001
Feb 2 07:30:57 homenas2 ntpd[1494]: kernel time sync status change 6001
Feb 2 07:39:30 homenas2 ntpd[1494]: kernel time sync status change 2001
Feb 3 07:47:49 homenas2 su: BAD SU user1 to root on /dev/pts/0
Feb 3 07:47:55 homenas2 su: user1 to root on /dev/pts/0
Feb 3 07:52:28 homenas2 mountd[14958]: mount request denied from 192.168.0.202 for /mnt/dpool1
Feb 3 07:54:27 homenas2 freenas[1741]: Executing: /usr/sbin/service ix-nfsd quietstart
Feb 3 07:54:27 homenas2 freenas: vfs.nfsrv.async: 0 -> 0
Feb 3 07:54:27 homenas2 freenas[1741]: Executing: /usr/sbin/service mountd reload
Feb 3 07:54:28 homenas2 freenas[1741]: Executing: /bin/pgrep nfsd

I changed my settings for: 'Authorized network or IP addresses' from 192.168.0.0 (attempt to reference the subnet) to 192.168.0.202 (actual address of my workstation) and that seems to have gotten rid of the: 'mount request denied from 192.168.0.202' at the freenas server but .... still I have the RPC issue and no mounting at the workstation. I also changed the mapalluser to Root and mapallgroup to wheel. see second attachment: Screenshot - 02032012 - 08:31:47.jpg

[root@ws5] ~# mount /mnt/nas2
[tcp] homenas2:/mnt/dpool1: RPCPROG_MNT: RPC: Timed out
^C
[root@ws5] ~# mount /mnt/nas2
[tcp] homenas2:/mnt/dpool1: RPCPROG_MNT: RPC: Timed out
^C
[root@ws5] ~# date
Fri Feb 3 08:32:56 EST 2012
[root@ws5] ~# mount /mnt/nas2
[tcp] homenas2:/mnt/dpool1: RPCPROG_MNT: RPC: Timed out
[tcp] homenas2:/mnt/dpool1: RPCPROG_MNT: RPC: Timed out
[tcp] homenas2:/mnt/dpool1: RPCPROG_MNT: RPC: Timed out
^C


[root@homenas2] ~# ps -ax | grep rpc
1186 ?? Ss 0:00.14 /usr/sbin/rpcbind
15007 ?? Ss 0:00.11 /usr/sbin/rpc.statd
15025 ?? Ss 0:00.21 /usr/sbin/rpc.lockd
38645 0 R+ 0:00.00 grep rpc
[root@ws5] ~# ps -ax | grep rpc
1833 ?? Is 0:00.01 /usr/sbin/rpcbind
35312 0 S+ 0:00.00 grep rpc

[root@ws5] ~# cat /etc/rc.conf | grep nfs
nfs_client_enable="YES"

[root@ws5] ~# ps -ax | grep nfs
35748 0 S+ 0:00.00 grep nfs

Thanks in advance for any assistance you can provide.
http://forums.freenas.org/showthread.php?5816-NFS-mount-failed-RPCPROG_MNT-RPC-Timed-out
Ben

bforest
02-12-2012, 01:24 PM
See the link at the bottom of the first post.
_http://forums.freenas.org/showthread.php?5816

I found "a" temporary solution to this issue. It seems I had to add my workstation IP address to the /etc/hosts file on the FreeNAS server.

This is not an ideal solution but ... it does get me access to my NAS device via NFS.

Any thoughts?
(over there, many read thread, but no writes)