[CentOS] NFS problem: getattr ERROR: Request couldn't be completed in time

2016-05-31 Thread Matthias Leopold
i posted this also to linux-nfs, maybe this is a more appropriate place 
as it's clearly a "user" problem


###

hi,

i'm trying to mount a NFS 4 share with "sec=sys" from a NetApp FAS3250 
on a CentOS KVM guest. this doesn't work, the mount doesn't complete and 
hangs.


mount command is:
/bin/mount -v -t nfs -s -o vers=4.1,sec=sys 10.110.96.90:/home /home/cir

what i'm seeing in tcpdump is:

08:36:48.875019 IP 10.110.96.112.2456702824 > 10.110.96.90.2049: 212 
getattr fh 0,1/53
08:36:48.875355 IP 10.110.96.90.2049 > 10.110.96.112.2456702824: reply 
ok 96 getattr ERROR: Request couldn't be completed in time


server: 10.110.96.90
client: 10.110.96.112

status of nfs services:

nfslock: running
rpcbind: running
rpcidmapd: stopped

this happens with a centos 6 _and_ a centos 7 client (both KVM guests).
NFS 3 mount of the share doesn't work either.

other kvm guests (centos 6) on the same physical host can mount the 
share with no problem.


the netapp admin tells me there's "no problem" on his side.
iptables is disabled of course.

###

what could be the problem on my (client) side?
could this be a kvm problem?

kvm host is centos 6.
network mode is "bridge".
network driver is "virtio".

thx for any advice
matthias

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem after 7.2

2016-01-01 Thread Mark
On Fri, 2016-01-01 at 20:16 +0100, Leon Fauster wrote:
> yum --enablerepo=C7.1.1503-base --enablerepo=C7.1.1503-updates
> downgrade ...

Thanks.

I already did a manual download and downgrade and happily enough that
solved the problem. No more errors in the log and now all nfs clients
can mount their shares :)


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem after 7.2

2016-01-01 Thread Mark
On Thu, 2015-12-31 at 10:16 -0700, Brandon Vincent wrote:
> Looks like upstream is working on it [1]. According to the BZ, the
> solution for now is to downgrade nfs-utils [2].

Thank you for spotting that one!

Don't know it's because I'm still tired from yesterday, but don't seem
to be able to downgrade. The command 'yum downgrade nfs-utils' just
returns nothing to do. I've searched centos.org to find the previous
package nfs-utils-1.3.0-0.8.el7.x86_64.rpm to manually download and
install, but haven't found it. What is actually the best way to do a
downgrade?


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem after 7.2

2016-01-01 Thread Gordon Messmer

On 01/01/2016 01:55 AM, Mark wrote:

The command 'yum downgrade nfs-utils' just
returns nothing to do. I've searched centos.org to find the previous
package nfs-utils-1.3.0-0.8.el7.x86_64.rpm to manually download and
install, but haven't found it. What is actually the best way to do a
downgrade?


http://centos.s.uw.edu/centos/7.1.1503/os/x86_64/Packages/nfs-utils-1.3.0-0.8.el7.x86_64.rpm

"yum downgrade" will typically take you back to the version included 
with a release.


I thought that old packages were available on http://vault.centos.org/, 
but after a brief look I only see source packages.  Does anyone know 
where old binaries are kept, if anywhere?


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem after 7.2

2016-01-01 Thread Leon Fauster
Am 01.01.2016 um 17:31 schrieb Dennis Jacobfeuerborn :
> On 01.01.2016 12:23, Gordon Messmer wrote:
>> On 01/01/2016 01:55 AM, Mark wrote:
>>> The command 'yum downgrade nfs-utils' just
>>> returns nothing to do. I've searched centos.org to find the previous
>>> package nfs-utils-1.3.0-0.8.el7.x86_64.rpm to manually download and
>>> install, but haven't found it. What is actually the best way to do a
>>> downgrade?
>> 
>> http://centos.s.uw.edu/centos/7.1.1503/os/x86_64/Packages/nfs-utils-1.3.0-0.8.el7.x86_64.rpm
>> 
>> 
>> "yum downgrade" will typically take you back to the version included
>> with a release.
>> 
>> I thought that old packages were available on http://vault.centos.org/,
>> but after a brief look I only see source packages.  Does anyone know
>> where old binaries are kept, if anywhere?
> 
> At least this mirror has all the 7.1.1503 files available:
> http://mirror.netcologne.de/centos/7.1.1503/os/x86_64/Packages/nfs-utils-1.3.0-0.8.el7.x86_64.rpm
> 




yum --enablerepo=C7.1.1503-base --enablerepo=C7.1.1503-updates downgrade ...

--
LF




___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem after 7.2

2016-01-01 Thread Dennis Jacobfeuerborn
On 01.01.2016 12:23, Gordon Messmer wrote:
> On 01/01/2016 01:55 AM, Mark wrote:
>> The command 'yum downgrade nfs-utils' just
>> returns nothing to do. I've searched centos.org to find the previous
>> package nfs-utils-1.3.0-0.8.el7.x86_64.rpm to manually download and
>> install, but haven't found it. What is actually the best way to do a
>> downgrade?
> 
> http://centos.s.uw.edu/centos/7.1.1503/os/x86_64/Packages/nfs-utils-1.3.0-0.8.el7.x86_64.rpm
> 
> 
> "yum downgrade" will typically take you back to the version included
> with a release.
> 
> I thought that old packages were available on http://vault.centos.org/,
> but after a brief look I only see source packages.  Does anyone know
> where old binaries are kept, if anywhere?

At least this mirror has all the 7.1.1503 files available:
http://mirror.netcologne.de/centos/7.1.1503/os/x86_64/Packages/nfs-utils-1.3.0-0.8.el7.x86_64.rpm

Regards,
  Dennis

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem after 7.2

2015-12-31 Thread Gordon Messmer

On 12/30/2015 01:10 PM, Mark2015 wrote:

Dec 30 21:59:33 files nfsdcltrack[31076]: sqlite_query_reclaiming:
unable to prepare select statement: no such column: has_session


Shot in the dark: have you tried "exportfs -r" yet?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem after 7.2

2015-12-31 Thread Mark
On Thu, 2015-12-31 at 01:34 -0800, Gordon Messmer wrote:
> On 12/30/2015 01:10 PM, Mark2015 wrote:
> > Dec 30 21:59:33 files nfsdcltrack[31076]: sqlite_query_reclaiming:
> > unable to prepare select statement: no such column: has_session
> 
> Shot in the dark: have you tried "exportfs -r" yet?

Tried it, it just returned and nothing in the logs.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem after 7.2

2015-12-31 Thread Gordon Messmer

On 12/31/2015 03:54 AM, Mark wrote:

Tried it, it just returned and nothing in the logs.


Yes, but is the client still unable to mount the filesystem?  I wouldn't 
expect any output or log entries from the command itself. It just 
rebuilds the binary export database from /etc/exports.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem after 7.2

2015-12-31 Thread Brandon Vincent
On Wed, Dec 30, 2015 at 2:10 PM, Mark2015  wrote:
> What to do?

Looks like upstream is working on it [1]. According to the BZ, the
solution for now is to downgrade nfs-utils [2].

Brandon Vincent

[1] https://access.redhat.com/solutions/2065873
[2] https://bugzilla.redhat.com//show_bug.cgi?id=1285097
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] NFS problem after 7.2

2015-12-30 Thread Mark2015
I just updated my fileserver to version 7.2 and got some NFS problems
after that. In /etc/exports I have the following line

/path hostname(ro,insecure)

Now that host can no longer mount that share. I get
mount.nfs: access denied by server while mounting x

Also when I do restart of the NFS server I get following in the logs
Dec 30 21:59:33 files systemd[1]: Starting NFS server and services...
Dec 30 21:59:33 files nfsdcltrack[31076]: sqlite_query_reclaiming:
unable to prepare select statement: no such column: has_session

Dec 30 21:59:33 files polkitd[28879]: Unregistered Authentication Agent
for unix-process:31032:12640806 (system bus name :1.635, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
(disconnected from bus)
Dec 30 21:59:34 files nfsdcltrack[31412]: sqlite_insert_client: insert
statement prepare failed: table clients has 2 columns but 3 values were
supplied

What to do?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem

2012-09-20 Thread Tony Molloy
On Wednesday 19 September 2012 23:22:13 Mark LaPierre wrote:
 On 09/19/2012 03:00 PM, m.r...@5-cent.us wrote:
  We've been seeing what I gather is an old, traditional problem:
  kernel: lockd: serverip address  not responding, timed out
 
  The things I've found, googling, mostly involve rebooting the NFS
  server, and I can't do that, it's a home directory server for a
  *bunch* of people, and this is only one person's workstation.
 
  Are there other solutions I haven't found yet?
 
  mark


I see the same problem with our student labs every now and then. I 
always assumed it was caused by a student power recycling the client 
rather than doing a clean reboot to get to Windoze ( dual boot 
machines ;-( ) causing NFS to get confused, NFSv3.

It doesn't seem to cause any problems just fills up the server logs 
with useless messages. Rebooting the client to Linux usually fixes the 
problem.

Tony

 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 Have you checked your network connectivity from the problem machine
  to the NFS server and back?  If other machines on this NFS server
  have no issues then you can eliminate the NIC on the server from
  suspicion, but the NIC on the problem machine might be having a
  problem.  Check your cable connections while you're at it.
 
 How are you mounting the NFS share?  If you are using AutoFS your
  mount may be timing out.  Does the problem machine access the
  share actively or does it tend to sit for a while between access
  attempts?
 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] NFS problem

2012-09-19 Thread m . roth
We've been seeing what I gather is an old, traditional problem:
kernel: lockd: server ip address not responding, timed out

The things I've found, googling, mostly involve rebooting the NFS server,
and I can't do that, it's a home directory server for a *bunch* of people,
and this is only one person's workstation.

Are there other solutions I haven't found yet?

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem

2012-09-19 Thread Mark LaPierre
On 09/19/2012 03:00 PM, m.r...@5-cent.us wrote:
 We've been seeing what I gather is an old, traditional problem:
 kernel: lockd: serverip address  not responding, timed out

 The things I've found, googling, mostly involve rebooting the NFS server,
 and I can't do that, it's a home directory server for a *bunch* of people,
 and this is only one person's workstation.

 Are there other solutions I haven't found yet?

 mark

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Have you checked your network connectivity from the problem machine to 
the NFS server and back?  If other machines on this NFS server have no 
issues then you can eliminate the NIC on the server from suspicion, but 
the NIC on the problem machine might be having a problem.  Check your 
cable connections while you're at it.

How are you mounting the NFS share?  If you are using AutoFS your mount 
may be timing out.  Does the problem machine access the share actively 
or does it tend to sit for a while between access attempts?

-- 
 _
°v°
   /(_)\
^ ^  Mark LaPierre
Registerd Linux user No #267004
www.counter.li.org

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] NFS problem

2009-12-28 Thread Timothy Murphy
I'm trying to NFS-mount a CentOS directory on my Fedora laptop,
but I find I can only do this is I turn off the firewall
on the CentOS server.

If instead I go to system-config-securitylevel-tui on the server,
and allow NFS4, this does not do the trick.
Nor does allowing port 2049.

What do I need to allow?

[I should say that the CentOS server is remote,
and difficult to access directly;
that is why I used system-config-securitylevel-tui,
rather than system-config-securitylevel .]


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem

2009-12-28 Thread nate
Timothy Murphy wrote:
 I'm trying to NFS-mount a CentOS directory on my Fedora laptop,
 but I find I can only do this is I turn off the firewall
 on the CentOS server.

 If instead I go to system-config-securitylevel-tui on the server,
 and allow NFS4, this does not do the trick.
 Nor does allowing port 2049.

 What do I need to allow?

Look at the firewall logs, RPC services use somewhat random ports,
you can look at what ports are being used with the 'rpcinfo' command,
you can also look at hard coding what ports are used to make firewall
configuration simpler(don't have docs off hand, search for them, easy
to find).

nate


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem

2009-12-28 Thread Frank Cox

On Mon, 2009-12-28 at 23:30 +0100, Timothy Murphy wrote:
 I'm trying to NFS-mount a CentOS directory on my Fedora laptop,
 but I find I can only do this is I turn off the firewall
 on the CentOS server.
 
 If instead I go to system-config-securitylevel-tui on the server,
 and allow NFS4, this does not do the trick.
 Nor does allowing port 2049.
 
 What do I need to allow?

Here is my note regarding how to make this work:

Create the file /etc/sysconfig/nfs and add the following contents:

STATD_PORT=4001
LOCKD_TCPPORT=4002
LOCKD_UDPPORT=4002
MOUNTD_PORT=4003

 Append the following to the file /etc/services:

rquotad 4004/tcp # rpc.rquotad tcp port
rquotad 4004/udp # rpc.rquotad udp port

 Restart the nfs services

From there, open these ports - 111:tcp, 111:udp, 2049:tcp, 2049:udp,
4001:tcp, 4001:udp, 4002:tcp, 4002:udp, 4003:tcp, 4003:udp, 4004:tcp,
4004:udp


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS problem

2009-12-28 Thread Fernando Hallberg
Hi,

You only need rpcidmapd, portmap on the centos box

Edit the /etc/sysconfig/nfs

And use /export filesystem as the fsid=0 on the /etc/exportfs

Export all directories you need mounted on the /export with the -o bind on the 
mount command, and add refer=/dir on /etc/exportfs on the nfs4 server

you want to add the rpc and nfs mounts on the fstab too
rpc_pipefs  /var/lib/nfs/rpc_pipefs rpc_pipefs  defaults0   0
nfsd/proc/fs/nfsd   nfsddefaults0   0

Fernando

On Mon, 28 Dec 2009 16:59:30 -0600
Frank Cox thea...@sasktel.net wrote:

 
 On Mon, 2009-12-28 at 23:30 +0100, Timothy Murphy wrote:
  I'm trying to NFS-mount a CentOS directory on my Fedora laptop,
  but I find I can only do this is I turn off the firewall
  on the CentOS server.
  
  If instead I go to system-config-securitylevel-tui on the server,
  and allow NFS4, this does not do the trick.
  Nor does allowing port 2049.
  
  What do I need to allow?
 
 Here is my note regarding how to make this work:
 
 Create the file /etc/sysconfig/nfs and add the following contents:
 
 STATD_PORT=4001
 LOCKD_TCPPORT=4002
 LOCKD_UDPPORT=4002
 MOUNTD_PORT=4003
 
  Append the following to the file /etc/services:
 
 rquotad 4004/tcp # rpc.rquotad tcp port
 rquotad 4004/udp # rpc.rquotad udp port
 
  Restart the nfs services
 
 From there, open these ports - 111:tcp, 111:udp, 2049:tcp, 2049:udp,
 4001:tcp, 4001:udp, 4002:tcp, 4002:udp, 4003:tcp, 4003:udp, 4004:tcp,
 4004:udp
 
 
 -- 
 MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


-- 
Fernando Hallberg ferna...@flexdigital.com.br
Flex Digital Soluções em Redes de Dados
http://www.flexdigital.com.br
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos