Return-Path: linux-nfs-owner@vger.kernel.org Received: from sentry-two.sandia.gov ([132.175.109.14]:60607 "EHLO sentry-two.sandia.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750811Ab3E3Uhe (ORCPT ); Thu, 30 May 2013 16:37:34 -0400 Message-ID: <51A7B442.9010108@sandia.gov> Date: Thu, 30 May 2013 14:19:14 -0600 From: "Jim Schutt" MIME-Version: 1.0 To: "Weston Andros Adamson" , "Chuck Lever" , "Trond Myklebust" cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: 3.10-rc3 NFSv3 mount issues Content-Type: text/plain; charset=utf-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: Hi, I've been trying to test 3.10-rc3 on some diskless clients, and found that I can no longer mount my root file system via NFSv3. I poked around looking at NFS changes for 3.10, and found these two commits: d497ab9751 "NFSv3: match sec= flavor against server list" 4580a92d44 "NFS: Use server-recommended security flavor by default (NFSv3)" If I revert both of these commits from 3.10-rc3, then my diskless client can mount its root file system. The busybox mount command fails like this, when using 3.10-rc3: / # mount -t nfs -o ro,nolock,vers=3,proto=tcp 172.17.0.122:/gmi/images/jaschut/ceph.toss-2x /mnt mount: mounting 172.17.0.122:/gmi/images/jaschut/ceph.toss-2x on /mnt failed: Invalid argument The commit messages for both these commits seem to say that mounting with the "sys=sec" option should work, but unfortunately, my busybox doesn't seem to understand the "sec=" mount option: / # mount -t nfs -o ro,nolock,vers=3,proto=tcp,sec=sys 172.17.0.122:/gmi/images/jaschut/ceph.toss-2x /mnt mount: invalid number 'sys' My NFS server is based on RHEL6, and is not using any "sec=" option in its export for this file system. I did try exporting with "sec=sys", but it didn't seem to make any difference either. So far, this seems like a regression to me .... Any ideas what I might be doing wrong? How can I help make this work again? Thanks -- Jim