Operating System - Linux
1830221 Members
1996 Online
109999 Solutions
New Discussion

Re: nfs_statfs: statfs error = 512

 
skt_skt
Honored Contributor

nfs_statfs: statfs error = 512

here is the error coming at client side.

Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr
20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux

# rpm -qa|grep -i nfs
nfs-utils-1.0.6-80.EL4
nfs-utils-lib-1.0.6-8

]# getenforce
Permissive


Aug 1 21:10:53 hecdl1p kernel: SELinux: initialized (dev 0:18, type nfs), uses genfs_contexts
Aug 1 21:12:00 hecdl1p kernel: nfs: server hostname.nfs.server not responding, still trying
Aug 1 21:23:59 hostname kernel: nfs_statfs: statfs error = 512
==
at nfs server side
Red Hat Linux Advanced Server release 2.1AS (Pensacola)
Linux hostname.nfs.server 2.4.9-e.72enterprise #1 SMP Tue Jul 3 21:57:23 EDT 2007 i686 unknown

# rpm -qa|grep -i nfs
nfs-utils-0.3.3-11

Any one had simialr errors?
7 REPLIES 7
Jeeshan
Honored Contributor

Re: nfs_statfs: statfs error = 512

post this output

#getsebool -a |grep nfs
a warrior never quits
skt_skt
Honored Contributor

Re: nfs_statfs: statfs error = 512

# getsebool -a |grep nfs
use_nfs_home_dirs --> inactive


is that inactive causing problem?
skt_skt
Honored Contributor

Re: nfs_statfs: statfs error = 512

i tried setting the value 1. But did not make any diff.

#setsebool use_nfs_home_dirs 1

here i am not able to get a login prompt when i try to login throug ldap authentication where the home directory is getting nfs/autmounted from ldap/nfs server. Not sure if ldap is giving trouble. How to disable to ldap client service for stopping/testing for a while

But i tried a seprate mount point making an NFS and i am able to mount them a client side.So nfs communication is ok.
Jeeshan
Honored Contributor

Re: nfs_statfs: statfs error = 512

put comments on every line of /etc/openldap/ldap.conf and /etc/nsswitch.conf files

or

#checkconfig ldap off

#service ldap stop
a warrior never quits
skt_skt
Honored Contributor

Re: nfs_statfs: statfs error = 512

the problem is at the client side(only one client effected). is there a client sevice other than the client configuration files?
Jeeshan
Honored Contributor

Re: nfs_statfs: statfs error = 512

yes, i got you. i'm talking about to stop the client services.
a warrior never quits
skt_skt
Honored Contributor

Re: nfs_statfs: statfs error = 512

i dont have any ldap client service as you said(chkconfig or service)