Fedora 17 / Solaris NFS Bug - With way more diagnostic information - Please Help
Thomas Dineen
tdineen at ix.netcom.com
Sun Dec 30 18:54:32 UTC 2012
Gentle People:
My Solaris machines will not auto mount Fedora 17 exported file
systems.
Nfs seems to be working in that I can mount the file systems on
another Fedora 14 box.
On previous Fedora (14) versions there were issues with nfs
versions 3 versus 4. Fedora dose seem to run versions 2, 3 , and
4 simultaneously.
Question 1: Is it necessary to turn off version 4 in Fedora 17?
Question 2: How do you turn off nfs version 4
Are any of the following correct for /etc/sysconfig/nfs for Fedora 17?
MOUNTD_NFS_V3="yes"
RPCNFSDARGS="-N 4"
NFS4_SUPPORT="no"
See the listings below for the current details.
;
; Command failed meaning it hung to Linux4 Fedora 17
;
Sun5% ls /net/Dineen-Linux4
;
; Sun automounter works to Linux2 - Fedora14
;
root at Sun# ls /net/Dineen-Linux2/home
guest lost+found samba tdineen
root at Sun#
; Command succeded on Sun5:
mount -F nfs Dineen-Linux4:/home/tdineen /mnt
; ls worked! But with the following errors:
root at Sun# ls -la /mnt
ls: /mnt: Permission denied
ls: /mnt/.: Permission denied
ls: /mnt/Linux4_Config_Notes.txt: Permission denied
ls: /mnt/.mateconfd: Permission denied
ls: /mnt/.gconf: Permission denied
; Listing Shortened For Brevity
total 3542
drwxrwxrwx 30 tdineen 1001 4096 Dec 30 09:46 .
drwxr-xr-x 46 root root 1536 Dec 27 22:34 ..
-rw-r--r-- 1 tdineen 1001 18 Apr 23 2012 .bash_logout
-rw-r--r-- 1 tdineen 1001 193 Apr 23 2012 .bash_profile
-rw-r--r-- 1 tdineen 1001 124 Apr 23 2012 .bashrc
; Listing Shortened For Brevity
; These commands Worked On Sun5 To Linux4 Fedora 17!!!!!
root at Sun# pwd
/root
cp dir_all.txt /mnt
cp /mnt/dir_all.txt Test.txt
vi /mnt/Test.txt
root at Sun#
;
; The Current /etc/exports
;
Root at Linux4% more /etc/exports
/home Dineen-Sun(rw) Sun2(rw) Sun3(rw) Sun5(rw) Dineen-Linux(rw) Dineen-Linux2(r
w) Dineen-Linux3(rw) Dineen-Linux4(rw)
Root at Linux4%
;
; I am running the original unedited nfs file:
;
more /etc/sysconfig/nfs
#
# Optinal options passed to rquotad
RPCRQUOTADOPTS=""
#
# Optional arguments passed to in-kernel lockd
#LOCKDARG=
# TCP port rpc.lockd should listen on.
#LOCKD_TCPPORT=32803
# UDP port rpc.lockd should listen on.
#LOCKD_UDPPORT=32769
#
# Optional arguments passed to rpc.nfsd. See rpc.nfsd(8)
RPCNFSDARGS=""
# Number of nfs server processes to be started.
# The default is 8.
RPCNFSDCOUNT=8
# Set V4 grace period in seconds
#NFSD_V4_GRACE=90
#
# Optional arguments passed to rpc.mountd. See rpc.mountd(8)
RPCMOUNTDOPTS=""
#
# Optional arguments passed to rpc.statd. See rpc.statd(8)
STATDARG=""
#
# Optional arguments passed to rpc.idmapd. See rpc.idmapd(8)
RPCIDMAPDARGS=""
#
# Optional arguments passed to rpc.gssd. See rpc.gssd(8)
RPCGSSDARGS=""
#
# Optional arguments passed to rpc.svcgssd. See rpc.svcgssd(8)
RPCSVCGSSDARGS=""
#
# To enable RDMA support on the server by setting this to
# the port the server should listen on
#RDMA_PORT=20049
#
# Optional arguments passed to blkmapd. See blkmapd(8)
BLKMAPDARGS=""
;
; Curent nfsstat
;
Root at Linux4% nfsstat -o all -234
Server packet stats:
packets udp tcp tcpconn
7203 0 7201 36
Server rpc stats:
calls badcalls badclnt badauth xdrcall
7193 3 3 0 0
Server reply cache:
hits misses nocache
0 6028 1165
Server file handle cache:
lookup anon ncachedir ncachedir stale
0 0 0 0 0
Server nfs v2:
null getattr setattr root lookup readlink
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
read wrcache write create remove rename
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
link symlink mkdir rmdir readdir fsstat
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
Server nfs v3:
null getattr setattr lookup access readlink
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
read write create mkdir symlink mknod
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
remove rmdir rename link readdir readdirplus
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
fsstat fsinfo pathconf commit
0 0% 0 0% 0 0% 0 0%
Server nfs v4:
null compound
21 0% 7172 99%
Server nfs v4 operations:
op0-unused op1-unused op2-future access close commit
0 0% 0 0% 0 0% 27 0% 11 0% 7 0%
create delegpurge delegreturn getattr getfh link
0 0% 0 0% 3 0% 1095 7% 139 0% 0 0%
lock lockt locku lookup lookup_root nverify
0 0% 0 0% 0 0% 135 0% 0 0% 69 0%
open openattr open_conf open_dgrd putfh putpubfh
20 0% 0 0% 2 0% 0 0% 7123 47% 0 0%
putrootfh read readdir readlink remove rename
20 0% 0 0% 22 0% 0 0% 0 0% 0 0%
renew restorefh savefh secinfo setattr setcltid
19 0% 70 0% 83 0% 5 0% 2 0% 10 0%
setcltidconf verify write rellockowner bc_ctl bind_conn
10 0% 1 0% 6006 40% 0 0% 0 0% 0 0%
exchange_id create_ses destroy_ses free_stateid getdirdeleg getdevinfo
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
getdevlist layoutcommit layoutget layoutreturn secinfononam sequence
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
set_ssv test_stateid want_deleg destroy_clid reclaim_comp
0 0% 0 0% 0 0% 0 0% 0 0%
Client packet stats:
packets udp tcp tcpconn
0 0 0 0
Client rpc stats:
calls retrans authrefrsh
4 3 4
Client nfs v2:
null getattr setattr root lookup readlink
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
read wrcache write create remove rename
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
link symlink mkdir rmdir readdir fsstat
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
Client nfs v3:
null getattr setattr lookup access readlink
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
read write create mkdir symlink mknod
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
remove rmdir rename link readdir readdirplus
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
fsstat fsinfo pathconf commit
0 0% 0 0% 0 0% 0 0%
Client nfs v4:
null read write commit open open_conf
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
open_noat open_dgrd close setattr fsinfo renew
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
setclntid confirm lock lockt locku access
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
getattr lookup lookup_root remove rename link
0 0% 0 0% 2 100% 0 0% 0 0% 0 0%
symlink create pathconf statfs readlink readdir
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
server_caps delegreturn getacl setacl fs_locations rel_lkowner
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
secinfo exchange_id create_ses destroy_ses sequence get_lease_t
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
reclaim_comp layoutget getdevinfo layoutcommit layoutreturn getdevlist
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
(null)
0 0%
Root at Linux4%
;
; Current rpcinfo
;
Root at Linux4% rpcinfo
program version netid address service owner
100000 4 tcp6 ::.0.111 portmapper superuser
100000 3 tcp6 ::.0.111 portmapper superuser
100000 4 udp6 ::.0.111 portmapper superuser
100000 3 udp6 ::.0.111 portmapper superuser
100000 4 tcp 0.0.0.0.0.111 portmapper superuser
100000 3 tcp 0.0.0.0.0.111 portmapper superuser
100000 2 tcp 0.0.0.0.0.111 portmapper superuser
100000 4 udp 0.0.0.0.0.111 portmapper superuser
100000 3 udp 0.0.0.0.0.111 portmapper superuser
100000 2 udp 0.0.0.0.0.111 portmapper superuser
100000 4 local /var/run/rpcbind.sock portmapper superuser
100000 3 local /var/run/rpcbind.sock portmapper superuser
100024 1 udp 0.0.0.0.150.154 status 29
100024 1 tcp 0.0.0.0.167.12 status 29
100024 1 udp6 ::.152.111 status 29
100024 1 tcp6 ::.198.52 status 29
100003 2 tcp 0.0.0.0.8.1 nfs superuser
100003 3 tcp 0.0.0.0.8.1 nfs superuser
100003 4 tcp 0.0.0.0.8.1 nfs superuser
100227 2 tcp 0.0.0.0.8.1 nfs_acl superuser
100227 3 tcp 0.0.0.0.8.1 nfs_acl superuser
100003 2 udp 0.0.0.0.8.1 nfs superuser
100003 3 udp 0.0.0.0.8.1 nfs superuser
100003 4 udp 0.0.0.0.8.1 nfs superuser
100227 2 udp 0.0.0.0.8.1 nfs_acl superuser
100227 3 udp 0.0.0.0.8.1 nfs_acl superuser
100003 2 tcp6 ::.8.1 nfs superuser
100003 3 tcp6 ::.8.1 nfs superuser
100003 4 tcp6 ::.8.1 nfs superuser
100227 2 tcp6 ::.8.1 nfs_acl superuser
100227 3 tcp6 ::.8.1 nfs_acl superuser
100003 2 udp6 ::.8.1 nfs superuser
100003 3 udp6 ::.8.1 nfs superuser
100003 4 udp6 ::.8.1 nfs superuser
100227 2 udp6 ::.8.1 nfs_acl superuser
100227 3 udp6 ::.8.1 nfs_acl superuser
100021 1 udp 0.0.0.0.211.8 nlockmgr superuser
100021 3 udp 0.0.0.0.211.8 nlockmgr superuser
100021 4 udp 0.0.0.0.211.8 nlockmgr superuser
100021 1 tcp 0.0.0.0.196.69 nlockmgr superuser
100021 3 tcp 0.0.0.0.196.69 nlockmgr superuser
100021 4 tcp 0.0.0.0.196.69 nlockmgr superuser
100021 1 udp6 ::.140.57 nlockmgr superuser
100021 3 udp6 ::.140.57 nlockmgr superuser
100021 4 udp6 ::.140.57 nlockmgr superuser
100021 1 tcp6 ::.226.70 nlockmgr superuser
100021 3 tcp6 ::.226.70 nlockmgr superuser
100021 4 tcp6 ::.226.70 nlockmgr superuser
100011 1 udp 0.0.0.0.3.107 rquotad superuser
100011 2 udp 0.0.0.0.3.107 rquotad superuser
100011 1 tcp 0.0.0.0.3.107 rquotad superuser
100011 2 tcp 0.0.0.0.3.107 rquotad superuser
100005 1 udp 0.0.0.0.78.80 mountd superuser
100005 1 tcp 0.0.0.0.78.80 mountd superuser
100005 1 udp6 ::.78.80 mountd superuser
100005 1 tcp6 ::.78.80 mountd superuser
100005 2 udp 0.0.0.0.78.80 mountd superuser
100005 2 tcp 0.0.0.0.78.80 mountd superuser
100005 2 udp6 ::.78.80 mountd superuser
100005 2 tcp6 ::.78.80 mountd superuser
100005 3 udp 0.0.0.0.78.80 mountd superuser
100005 3 tcp 0.0.0.0.78.80 mountd superuser
100005 3 udp6 ::.78.80 mountd superuser
100005 3 tcp6 ::.78.80 mountd superuser
Root at Linux4%
More information about the users
mailing list