Error "decode_getfattr: xdr error 10008" please guide

Kevin Coffman kwc at citi.umich.edu
Tue May 20 09:00:41 EDT 2008


It sounds like NFS is working fine, besides seeing these messages?

As Trond indicated, if there is not a noticeable problem besides
seeing these messages, they can be ignored.


On Tue, May 20, 2008 at 6:32 AM, Adnan Hassan <adnan at adnanhassan.com> wrote:
> Dear All,
> Can any one guide about this error on the nfs-client
>
> decode_getfattr: xdr error 10008
>
> Kevin your reply is awaited !
>
>> kevin,
>> According to our previous conversation about the subject matter we are
>> still receiving the same logs in the "dmesg" on the NFS4 clients.
>> kindly confirm are these logs are critical at the client nfs4 ???
>> Let me remind you the nfs-server is having no issues and no such logs.
>> I've also forwarded you the config files.
>> Please guide !
>>
>> On Mon, May 12, 2008 at 10:12 PM, Kevin Coffman <kwc at citi.umich.edu>
>> wrote:
>>>
>>> OK.  This isn't an error when running on the client.
>>>
>>> Are you able to access the NFS server and see logging from its idmapd,
>>> while doing mappings?
>>>
>>> On Mon, May 12, 2008 at 1:07 PM, Adnan Hassan <adnan at adnanhassan.com>
>>> wrote:
>>> > No this was the nfs-client machine (which is showing these errors ),
>>> > yes i
>>> > know about the modes.
>>> > nfs-server do not have these errors !
>>> >
>>> >
>>> >
>>> > On Mon, May 12, 2008 at 9:54 PM, Kevin Coffman <kwc at citi.umich.edu>
>>> > wrote:
>>> >
>>> > > Is this on your NFS server machine?  Is the server started?
>>> > >  (Remember
>>> > > that idmapd has two separate "modes" for client and server.)
>>> > >
>>> > >
>>> > >
>>> > >
>>> > > On Mon, May 12, 2008 at 12:21 PM, Adnan Hassan
>>> > > <adnan at adnanhassan.com>
>>> > wrote:
>>> > > > Kevin
>>> > > > I have run rpcidmapd using the commands you have send, Find the
>>> > > > error
>>> > below
>>> > > > !!
>>> > > > and please guide
>>> > > >
>>> > > > ##########################
>>> > > >
>>> > > >
>>> > > > # /usr/sbin/rpc.idmapd -f -vvv
>>> > > > libnfsidmap: using domain: example.com
>>> > > >  libnfsidmap: using translation method: nsswitch
>>> > > > nfsdopenone: Opening /proc/net/rpc/nfs4.nametoid/channel failed:
>>> > > > errno 2
>>> > (No
>>> > > > such file or directory)
>>> > > > New client: 1
>>> > > > Opened /var/lib/nfs/rpc_pipefs/nfs/clnt1/idmap
>>> > > >
>>> > > > ###########################
>>> > > >
>>> > > >
>>> > > >
>>> > > > On Mon, May 12, 2008 at 9:11 PM, Adnan Hassan
>>> > > > <adnan at adnanhassan.com>
>>> > wrote:
>>> > > > > Kevin
>>> > > > > Yes that is orgoo but and its better if you hide that for the
>>> > > > > time
>>> > being
>>> > > > > ok i will try this in debug mode and will let you know asap
>>> > > > >
>>> > > > >
>>> > > > >
>>> > > > >
>>> > > > >
>>> > > > > On Mon, May 12, 2008 at 9:07 PM, Kevin Coffman
>>> > > > > <kwc at citi.umich.edu>
>>> > wrote:
>>> > > > >
>>> > > > > > Thanks.  This all looks reasonable.  I'm not sure that this
>>> > > > > > would
>>> > make
>>> > > > > > a difference -- or if you're just trying to hide details -- but
>>> > > > > > your
>>> > > > > > machines say they are in the 'example.com' domain, and your
>>> > > > > > idmapd.conf says your nfs domain is 'orgoo.com'.
>>> > > > > >
>>> > > > > > You might try running idmapd on your NFS server machine in the
>>> > > > > > foreground with debugging enabled, to see if it indicates a
>>> > > > > > problem:
>>> > > > > >
>>> > > > > >  # service rpcidmapd stop
>>> > > > > >  # /usr/sbin/rpc.idmapd -f -vvv
>>> > > > > >
>>> > > > > >
>>> > > > > >
>>> > > > > >
>>> > > > > > On Mon, May 12, 2008 at 11:34 AM, Adnan Hassan
>>> > <adnan at adnanhassan.com>
>>> > > > wrote:
>>> > > > > > > Dear Kevin / All
>>> > > > > > > Following are the details of my servers of the requested
>>> > > > > > > files /
>>> > > > others
>>> > > > > > > On the other hand i have tried to restart the requested
>>> > > > > > > service on
>>> > the
>>> > > > > > > nfs-server (idmapd server) but all in vain and the problem
>>> > > > > > > remains
>>> > let
>>> > > > me
>>> > > > > > > tell you that LDAP is not involved in my configuration
>>> > > > > > >  yes both the server and client are using EL4 but different
>>> > machines.
>>> > > > any
>>> > > > > > > other info required ??
>>> > > > > > > Thanks in Advance for your interest.
>>> > > > > > >
>>> > > > > > > NFSv4 CLIENT DETAILS
>>> > > > > > > ################################### nfs-utils
>>> > > > > > >  [adnan at nfs-client ~]$ rpm -qa nfs*
>>> > > > > > > nfs-utils-1.0.6-84.EL4
>>> > > > > > > nfs-utils-lib-1.0.6-8.z1
>>> > > > > > > ####################################### Kernel Version
>>> > > > > > > [adnan at nfs-client ~]$ uname -a
>>> > > > > > > Linux nfs-client.example.com 2.6.9-67.0.15.ELsmp #1 SMP Tue
>>> > > > > > > Apr 22
>>> > > > 13:50:33
>>> > > > > > > EDT 2008 i686 i686 i386 GNU/Linux
>>> > > > > > >  #################################
>>> > > > > > > [adnan at nfs-client ~]$ ps -ef | grep rpc.idmapd
>>> > > > > > >
>>> > > > > > > root      3902     1  0 May09 ?        00:00:00 rpc.idmap
>>> > > > > > >
>>> > > > > > > ######################### nsswitch.conf
>>> > > > > > > [adnan at nfs-client ~]$ cat /etc/nsswitch.conf
>>> > > > > > >
>>> > > > > > > passwd:     files
>>> > > > > > > shadow:     files
>>> > > > > > > group:      files
>>> > > > > > >
>>> > > > > > > hosts:      files dns
>>> > > > > > >
>>> > > > > > > bootparams: files
>>> > > > > > > ethers:     files
>>> > > > > > > netmasks:   files
>>> > > > > > > networks:   files
>>> > > > > > > protocols:  files
>>> > > > > > > rpc:        files
>>> > > > > > >  services:   files
>>> > > > > > > netgroup:   files
>>> > > > > > > publickey:  files
>>> > > > > > > automount:  files
>>> > > > > > > aliases:    files
>>> > > > > > > #####################################idmapd.conf
>>> > > > > > > [adnan at nfs-client ~]$ cat /etc/idmapd.conf
>>> > > > > > > [General]
>>> > > > > > >
>>> > > > > > > Verbosity = 0
>>> > > > > > >  Pipefs-Directory = /var/lib/nfs/rpc_pipefs
>>> > > > > > > Domain = orgoo.com
>>> > > > > > >
>>> > > > > > > [Mapping]
>>> > > > > > >
>>> > > > > > > Nobody-User = nobody
>>> > > > > > > Nobody-Group = nobody
>>> > > > > > >
>>> > > > > > > [Translation]
>>> > > > > > > Method = nsswitch
>>> > > > > > > #############################################################
>>> > > > > > >
>>> > > > > > > NFSv4 SERVER Details
>>> > > > > > > ################################## SAME Kernel Version
>>> > > > > > > [adnan at nfs-server ~]$ uname -a
>>> > > > > > > Linux nfs-server.example.com 2.6.9-67.0.15.ELsmp #1 SMP Tue
>>> > > > > > > Apr 22
>>> > > > 13:50:33
>>> > > > > > > EDT 2008 i686 athlon i386 GNU/Linux
>>> > > > > > >  ###########################
>>> > > > > > > [adnan at nfs-server ~]$ rpm -qa nfs*
>>> > > > > > > nfs-utils-lib-1.0.6-8.z1
>>> > > > > > > nfs-utils-1.0.6-84.EL4
>>> > > > > > > #################################
>>> > > > > > > [adnan at nfs-server ~]$ cat /etc/idmapd.conf
>>> > > > > > > [General]
>>> > > > > > >
>>> > > > > > >  Verbosity = 0
>>> > > > > > > Pipefs-Directory = /var/lib/nfs/rpc_pipefs
>>> > > > > > > Domain = orgoo.com
>>> > > > > > >
>>> > > > > > > [Mapping]
>>> > > > > > >
>>> > > > > > > Nobody-User = nobody
>>> > > > > > > Nobody-Group = nobody
>>> > > > > > >
>>> > > > > > > [Translation]
>>> > > > > > > Method = nsswitch
>>> > > > > > >  #################################
>>> > > > > > > [adnan at nfs-server ~]$ cat /etc/nsswitch.conf
>>> > > > > > >
>>> > > > > > > passwd:     files
>>> > > > > > > shadow:     files
>>> > > > > > > group:      files
>>> > > > > > >
>>> > > > > > > hosts:      files dns
>>> > > > > > >
>>> > > > > > > bootparams: files
>>> > > > > > > ethers:     files
>>> > > > > > >  netmasks:   files
>>> > > > > > > networks:   files
>>> > > > > > > protocols:  files
>>> > > > > > > rpc:        files
>>> > > > > > > services:   files
>>> > > > > > > netgroup:   files
>>> > > > > > > publickey:  files
>>> > > > > > > automount:  files
>>> > > > > > > aliases:    files
>>> > > > > > > ###################################
>>> > > > > > >  [adnan at nfs-server ~]$ ps -ef | grep rpc.idmapd
>>> > > > > > > root       500     1  0 May09 ?        00:00:01 rpc.idmapd
>>> > > > > > > #######################################
>>> > > > > > > [adnan at nfs-server ~]$ ps -ef | grep nfsd
>>> > > > > > > root      3044     1  0 May09 ?        00:02:47 [nfsd]
>>> > > > > > >  root      3045     1  0 May09 ?        00:02:38 [nfsd]
>>> > > > > > > root      3046     1  0 May09 ?        00:02:44 [nfsd]
>>> > > > > > > root      3047     1  0 May09 ?        00:03:01 [nfsd]
>>> > > > > > > root      3048     1  0 May09 ?        00:02:47 [nfsd]
>>> > > > > > >  root      3049     1  0 May09 ?        00:02:50 [nfsd]
>>> > > > > > > root      3050     1  0 May09 ?        00:02:46 [nfsd]
>>> > > > > > > root      3051     1  0 May09 ?        00:03:00 [nfsd]
>>> > > > > > > #########################################END
>>> > > > > > > ###################
>>> > > > > > >
>>> > > > > > >
>>> > > > > > >
>>> > > > > > >
>>> > > > > > >
>>> > > > > > >
>>> > > > > > > On Mon, May 12, 2008 at 7:58 PM, Kevin Coffman
>>> > <kwc at citi.umich.edu>
>>> > > > wrote:
>>> > > > > > > > As indicated by the posts you referenced, this is usually
>>> > > > > > > > caused
>>> > by
>>> > > > a
>>> > > > > > > > problem with idmapd (on the server).  Have you tried
>>> > > > > > > > restarting
>>> > > > idmapd
>>> > > > > > > > ("service rpcidmapd restart") on the NFS server machine?
>>> > > > > > > >
>>> > > > > > > > Are the client and server both Enterprise Linux 4? (are
>>> > > > > > > > they the
>>> > > > same
>>> > > > > > > machine?)
>>> > > > > > > > Do they have the same kernel version, and same version of
>>> > nfs-utils?
>>> > > > > > > > (what rpm version?)
>>> > > > > > > > What does your /etc/idmapd.conf look like on client and
>>> > > > > > > > server?
>>> > > > > > > > If using the default nsswitch mapping for idmapd, what does
>>> > > > > > > > /etc/nsswitch.conf look like?
>>> > > > > > > > If LDAP is involved, is it configured and working properly?
>>> > > > > > > >
>>> > > > > > > >
>>> > > > > > > >
>>> > > > > > > >
>>> > > > > > > >
>>> > > > > > > >
>>> > > > > > > > On Mon, May 12, 2008 at 10:38 AM, Adnan Hassan
>>> > > > <adnan at adnanhassan.com>
>>> > > > > > > wrote:
>>> > > > > > > > > Kevin,
>>> > > > > > > > > Kindly let me know the what exact info is required, I can
>>> > provide
>>> > > > you
>>> > > > > > > that
>>> > > > > > > > > info.
>>> > > > > > > > > we can get to the root cause of this issue and Why are we
>>> > having
>>> > > > these
>>> > > > > > > > > errors and why they occurs !!
>>> > > > > > > > >
>>> > > > > > > > >
>>> > > > > > > > >  On Mon, May 12, 2008 at 7:25 PM, Kevin Coffman
>>> > > > <kwc at citi.umich.edu>
>>> > > > > > > wrote:
>>> > > > > > > > >
>>> > > > > > > > >
>>> > > > > > > > > >
>>> > > > > > > > > >
>>> > > > > > > > > >
>>> > > > > > > > > > On Mon, May 12, 2008 at 9:52 AM, Adnan Hassan
>>> > > > <adnan at adnanhassan.com>
>>> > > > > > > > > wrote:
>>> > > > > > > > > > > Dears
>>> > > > > > > > > > > I'm having these error continuously in dmesg with
>>> > > > > > > > > > > NFSv4
>>> > > > > > > > > > > kindly guide my why we are having these error
>>> > > > > > > > > > > continuously
>>> > ,
>>> > > > what
>>> > > > > > > are
>>> > > > > > > > > these
>>> > > > > > > > > > > errors and how to solve these errors
>>> > > > > > > > > > > I've been through many posts and forums but unable to
>>> > > > > > > > > > > find
>>> > the
>>> > > > > > > solution
>>> > > > > > > > > > > please guide
>>> > > > > > > > > > >
>>> > > > > > > > > > > http://article.gmane.org/gmane.linux.nfsv4/37
>>> > > > > > > > > > >
>>> > > > http://www.ietf.org/mail-archive/web/nfsv4/current/msg01547.html
>>> > > > > > > > > > >
>>> > > > > > > > > > > SYSTEM ERRORS
>>> > > > > > > > > > >  decode_getfattr: xdr error 10008!
>>> > > > > > > > > > >  decode_getfattr: xdr error 10008!
>>> > > > > > > > > > >  decode_getfattr: xdr error 10008!
>>> > > > > > > > > > >  decode_getfattr: xdr error 10008!
>>> > > > > > > > > > >  decode_getfattr: xdr error 10008!
>>> > > > > > > > > > >  decode_getfattr: xdr error 10008!
>>> > > > > > > > > > >  decode_getfattr: xdr error 10008!
>>> > > > > > > > > > >  decode_getfattr: xdr error 10008!
>>> > > > > > > > > > >  decode_getfattr: xdr error 10008!
>>> > > > > > > > > > >  decode_getfattr: xdr error 10008!
>>> > > > > > > > > > >
>>> > > > > > > > > > > Following are the details of my Client system
>>> > > > > > > > > > > Kernel Version
>>> > > > > > > > > > > 2.6.9-67.0.15.ELsmp #1 SMP Tue Apr 22 13:50:33 EDT
>>> > > > > > > > > > > 2008
>>> > > > > > > > > > > Service RPC.IDMAPD Running
>>> > > > > > > > > > > root      3902     1  0 May09 ?        00:00:00
>>> > > > > > > > > > > rpc.idmapd
>>> > > > > > > > > >
>>> > > > > > > > > > What about your NFS Server?  Is it Linux?  Is idmapd
>>> > configured
>>> > > > > > > > > > properly and running there?
>>> > > > > > > > > >
>>> > > > > > > > >
>>> > > > > > > > >
>>> > > > > > > > >
>>> > > > > > > > > --
>>> > > > > > > > > Adnan Hassan
>>> > > > > > > >
>>> > > > > > >
>>> > > > > > >
>>> > > > > > >
>>> > > > > > > --
>>> > > > > > > Adnan Hassan
>>> > > > > >
>>> > > > >
>>> > > > >
>>> > > > >
>>> > > > > --
>>> > > > > Adnan Hassan
>>> > > >
>>> > > >
>>> > > >
>>> > > > --
>>> > > > Adnan Hassan
>>> > >
>>> >
>>> >
>>> >
>>> > --
>>> > Adnan Hassan
>>
>>
>>
>> --
>> Adnan Hassan
>
>
> --
> Adnan Hassan


More information about the NFSv4 mailing list