Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail.agmk.net ([91.192.224.71]:38040 "EHLO mail.agmk.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955Ab3ACJ11 convert rfc822-to-8bit (ORCPT ); Thu, 3 Jan 2013 04:27:27 -0500 From: =?utf-8?B?UGF3ZcWC?= Sikora To: linux-nfs@vger.kernel.org, baggins@pld-linux.org Cc: Trond.Myklebust@netapp.com Subject: mount.nfs: cannot allocate memory. Date: Thu, 03 Jan 2013 10:27:19 +0100 Message-ID: <2891788.0SBnrhN2VX@pawels> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Sender: linux-nfs-owner@vger.kernel.org List-ID: Hi, with the latest nfs-1.2.7/kernel-3.7.1 tools i've noticed an error during autofs mounting. reduced testcase shows that mount.nfs with 'vers=4' has a problem: [root@chufu ~]# mount.nfs -v -o vers=4 192.168.2.100:/home/atest/farm-local /mnt mount.nfs: timeout set for Thu Jan 3 10:22:00 2013 mount.nfs: trying text-based options 'vers=4,addr=192.168.2.100,clientaddr=192.168.2.103' mount.nfs: mount(2): Cannot allocate memory mount.nfs: Cannot allocate memory while the vers=3 works fine: [root@chufu ~]# mount.nfs -v -o vers=3 192.168.2.100:/home/atest/farm-local /mnt mount.nfs: timeout set for Thu Jan 3 10:22:04 2013 mount.nfs: trying text-based options 'vers=3,addr=192.168.2.100' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: trying 192.168.2.100 prog 100003 vers 3 prot TCP port 2049 mount.nfs: prog 100005, trying vers=3, prot=17 mount.nfs: trying 192.168.2.100 prog 100005 vers 3 prot UDP port 42412 no obvious errors in logs on nfs server/client side :( i can provide more info if you need to diagnose this issue. BR, Paweł.