I had an issue and solved this this way. it works now! thanks
Code:
//***SOLVED: //***SOLVED:
mount: RPC: Timed out
or
mount.nfs: access denied by server while mounting
So, first:
Install NFS Server Support
at the terminal type
sudo apt-get install nfs-kernel-server nfs-common portmap
When configuring portmap do =not= bind loopback. If you do you can either edit /etc/default/portmap by hand or run:
sudo dpkg-reconfigure portmap
sudo /etc/init.d/portmap restart
the most important is : do =not= bind loopback.
a# dpkg-reconfigure portmap
Stopping portmap daemon....
update-rc.d: warning: portmap start runlevel arguments (S) do not match LSB Default-Start values (S 2 3 4 5)
Starting portmap daemon....
Restoring old RPC service information....
There are RPC services which were registered with the portmapper
before the configuration was changed.
You need to manually restart them in order for the changes to take effect.
Current registered services:
------------------------------------------------
100024 1 udp 51647 status
100024 1 tcp 43086 status
100021 1 udp 48101 nlockmgr
100021 3 udp 48101 nlockmgr
100021 4 udp 48101 nlockmgr
100021 1 tcp 47109 nlockmgr
100021 3 tcp 47109 nlockmgr
100021 4 tcp 47109 nlockmgr
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 60568 mountd
100005 1 tcp 33252 mountd
100005 2 udp 60568 mountd
100005 2 tcp 33252 mountd
100005 3 udp 60568 mountd
100005 3 tcp 33252 mountd
------------------------------------------------
then :
put this into:
/etc/exports
/home 192.168.10.100:/24(rw,no_subtree_check,no_root_squash)
sudo /etc/init.d/portmap start
sudo /etc/init.d/nfs-common start
sudo /etc/init.d/nfs-kernel-server start
rpcinfo -p localhost
mkdir /mnt/nfstest/
mount 192.168.10.100:/home/ -t nfs
//***SOLVED//
mount: RPC: Timed out
or
mount.nfs: access denied by server while mounting
So, first:
Install NFS Server Support
at the terminal type
sudo apt-get install nfs-kernel-server nfs-common portmap
When configuring portmap do =not= bind loopback. If you do you can either edit /etc/default/portmap by hand or run:
sudo dpkg-reconfigure portmap
sudo /etc/init.d/portmap restart
the most important is : do =not= bind loopback.
a# dpkg-reconfigure portmap
Stopping portmap daemon....
update-rc.d: warning: portmap start runlevel arguments (S) do not match LSB Default-Start values (S 2 3 4 5)
Starting portmap daemon....
Restoring old RPC service information....
There are RPC services which were registered with the portmapper
before the configuration was changed.
You need to manually restart them in order for the changes to take effect.
Current registered services:
------------------------------------------------
100024 1 udp 51647 status
100024 1 tcp 43086 status
100021 1 udp 48101 nlockmgr
100021 3 udp 48101 nlockmgr
100021 4 udp 48101 nlockmgr
100021 1 tcp 47109 nlockmgr
100021 3 tcp 47109 nlockmgr
100021 4 tcp 47109 nlockmgr
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 60568 mountd
100005 1 tcp 33252 mountd
100005 2 udp 60568 mountd
100005 2 tcp 33252 mountd
100005 3 udp 60568 mountd
100005 3 tcp 33252 mountd
------------------------------------------------
then :
put this into:
/etc/exports
/home 192.168.10.100:/24(rw,no_subtree_check,no_root_squash)
sudo /etc/init.d/portmap start
sudo /etc/init.d/nfs-common start
sudo /etc/init.d/nfs-kernel-server start
rpcinfo -p localhost
mkdir /mnt/nfstest/
mount 192.168.10.100:/home/ -t nfs
//***SOLVED//
Bookmarks