[Novalug] NFS exort from Oracle Linux] more info
bvoight@patriot.net
bvoight@patriot.net
Thu Apr 28 10:59:41 EDT 2011
>From client, showmount fails as shown below.
showmount -e 10.1.10.207
mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive
---------------------------- Original Message ----------------------------
Subject: [Novalug] NFS exort from Oracle Linux
From: bvoight@patriot.net
Date: Thu, April 28, 2011 10:56 am
To: novalug@calypso.tux.org
--------------------------------------------------------------------------
Sports fans,
I have exported a file system from my Oracle Linux server (RHEL 6.0 under
the covers). Although it appears OK, I'm unable to mount it anywhere, and
get different errors from each client. Here's some detail from the server
and a linux client with identifying info edited out. I'll save the
Solaris stuff for later.
>From the NFS server:
Contents of /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
# Commented out to test NFS mount BV 4.25.11
#SELINUX=enforcing
SELINUX=permissive
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
exportfs output:
/tarfiles 10.1.10.206/24
/tarfiles 10.1.10.202/24
/tarfiles <world>
Ping output:
ping 10.1.10.202
PING 10.1.10.202 (10.1.10.202) 56(84) bytes of data.
64 bytes from 10.1.10.202: icmp_seq=1 ttl=64 time=0.645 ms
64 bytes from 10.1.10.202: icmp_seq=2 ttl=64 time=0.139 ms
64 bytes from 10.1.10.202: icmp_seq=3 ttl=64 time=0.122 ms
^C
--- 10.1.10.202 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2743ms
rtt min/avg/max/mdev = 0.122/0.302/0.645/0.242 ms
ping 10.1.10.207
PING 10.1.10.207 (10.1.10.207) 56(84) bytes of data.
64 bytes from 10.1.10.207: icmp_seq=1 ttl=64 time=0.041 ms
64 bytes from 10.1.10.207: icmp_seq=2 ttl=64 time=0.028 ms
64 bytes from 10.1.10.207: icmp_seq=3 ttl=64 time=0.020 ms
^C
--- 10.1.10.207 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2998ms
rtt min/avg/max/mdev = 0.020/0.029/0.041/0.010 ms
>From a linux client (Enterprise Linux Enterprise Linux Server release 5.5
(Carthage) from etc/issue)
apex.micore.com:/root > ping 10.1.10.207
PING 10.1.10.207 (10.1.10.207) 56(84) bytes of data.
64 bytes from 10.1.10.207: icmp_seq=1 ttl=64 time=1.42 ms
64 bytes from 10.1.10.207: icmp_seq=2 ttl=64 time=0.104 ms
64 bytes from 10.1.10.207: icmp_seq=3 ttl=64 time=0.106 ms
64 bytes from 10.1.10.207: icmp_seq=4 ttl=64 time=0.103 ms
--- 10.1.10.207 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.103/0.434/1.424/0.571 ms
Netstat output:
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.1.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
5.5.0.0 0.0.0.0 255.255.252.0 U 0 0 0
as0t0
5.5.4.0 0.0.0.0 255.255.252.0 U 0 0 0
as0t1
5.5.8.0 0.0.0.0 255.255.252.0 U 0 0 0
as0t2
5.5.12.0 0.0.0.0 255.255.252.0 U 0 0 0
as0t3
0.0.0.0 10.1.10.1 0.0.0.0 UG 0 0 0 eth0
Mount attempt:
mount -t nfs -o rw 10.1.10.207:/tarfiles /testmount
mount: mount to NFS server '10.1.10.207' failed: System Error: No route to
host.
Check NFS version:
ps -ef | grep nfs
root 4418 2 0 07:38 ? 00:00:00 [nfsiod]
root 4570 2 0 10:01 ? 00:00:00 [nfsd4]
root 4571 2 0 10:01 ? 00:00:00 [nfsd]
root 4572 2 0 10:01 ? 00:00:00 [nfsd]
root 4573 2 0 10:01 ? 00:00:00 [nfsd]
root 4574 2 0 10:01 ? 00:00:00 [nfsd]
root 4575 2 0 10:01 ? 00:00:00 [nfsd]
root 4576 2 0 10:01 ? 00:00:00 [nfsd]
root 4577 2 0 10:01 ? 00:00:00 [nfsd]
root 4578 2 0 10:01 ? 00:00:00 [nfsd]
root 4681 4635 0 10:53 pts/1 00:00:00 grep nfs
Both boxes are on a 10.1.10 segment and all the command outputs including
the output of netstat -rn look OK. NFS utilities are installed on the
client as well.
Any ideas?
BV
_______________________________________________
Novalug mailing list
Novalug@calypso.tux.org
http://calypso.tux.org/mailman/listinfo/novalug
More information about the Novalug
mailing list