From owner-freebsd-stable@freebsd.org Thu Jan 12 00:12:34 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B21DCAB583 for ; Thu, 12 Jan 2017 00:12:34 +0000 (UTC) (envelope-from karly@kipshouse.net) Received: from mgmt.ironboy.kipshouse.net (ironboy.kipshouse.net [IPv6:2001:470:835a:4242::42]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mx.kipshouse.net", Issuer "Starfield Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BD6C41755 for ; Thu, 12 Jan 2017 00:12:33 +0000 (UTC) (envelope-from karly@kipshouse.net) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kipshouse.org; i=@kipshouse.org; q=dns/txt; s=kh-ss; t=1484179953; x=1515715953; h=date:from:to:subject:message-id:mime-version; z=Date:=20Wed,=2011=20Jan=202017=2015:47:37=20-0800|From: =20Karl=20Young=20|To:=20FreeBSD=20S table=20Mailing=20List=20 |Subject:=20NFS=20and=20amd=20on=20older=20FreeBSD |Message-ID:=20<20170111234737.GK26386@mailboy.kipshouse. net>|MIME-Version:=201.0; bh=TtZGTrLfN1GbZ+GejAn3RolRTQg5Wx5zITRkGDq/USg=; b=aPXZ704qrBjj4hLDDLNxpEQK6x8EWE97ypTIcZM9B8XrDZNYbkp37JFU /GqJbewmzj7xRKrxllLEIpg1S6Kz3iKI3ewsqa0r9+IIqIt7exctstLVs C956hf6wY/x1DWpQ079Hx2pcb74u9WUBXctAU2uSRkieYn8ODBwzUx2NT tkKyBqa6R1GfyFw0UkG+tkWKiygfqjtpkwI0qw6HY+ZX9IFU8KHMM2uoY L/oCJficNzI/L7AOYAG3gXmLsy0W5rc9yYOIxyo+f8no1k27C+dUp7EEW b0w4A2n66mYRgMTd8yNdD6Rli3WjjFrlyHvlVYHJWVpebqXLrPx3TBlQl g==; Authentication-Results: d2.ironport.kipshouse.net; dkim=none (message not signed) header.i=none; spf=None smtp.pra=karly@kipshouse.org; spf=None smtp.mailfrom=karly@kipshouse.net; spf=None smtp.helo=postmaster@mailboy.kipshouse.net Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of karly@kipshouse.org) identity=pra; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="karly@kipshouse.org"; x-conformance=sidf_compatible Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of karly@kipshouse.net) identity=mailfrom; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="karly@kipshouse.net"; x-conformance=sidf_compatible Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of postmaster@mailboy.kipshouse.net) identity=helo; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="postmaster@mailboy.kipshouse.net"; x-conformance=sidf_compatible X-SBRS: None X-MID: 231196 X-RemoteIP: 2001:470:835a:1010::26 X-RemoteHost: 2001:470:835a:1010::26, mailboypriv.kipshouse.net X-IronPort-AV: E=McAfee;i="5700,7163,8405"; a="231196" Received: from mailboypriv.kipshouse.net (HELO mailboy.kipshouse.net) ([IPv6:2001:470:835a:1010::26]) by d2.ironport.kipshouse.net with ESMTP; 11 Jan 2017 16:12:32 -0800 Received: by mailboy.kipshouse.net (Postfix, from userid 500) id A1F7D43F97; Wed, 11 Jan 2017 15:47:37 -0800 (PST) Date: Wed, 11 Jan 2017 15:47:37 -0800 From: Karl Young To: FreeBSD Stable Mailing List Subject: NFS and amd on older FreeBSD Message-ID: <20170111234737.GK26386@mailboy.kipshouse.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Arbitrary-Number-Of-The-Day: 42 X-URL: http://www.kipshouse.org/karly X-Work-URL: http://www.cisco.com/ X-Disclaimer: My opinions do not necessarily represent those of my employer. User-Agent: Mutt/1.5.20 (2009-12-10) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2017 00:12:34 -0000 I inherited a lab that has a few hundred hosts running FreeBSD 7.2. These hosts run test scripts that access files that are stored on FreeBSD 6.3 host. The 6.3 host exports a /data directory with NFS On the 7.2 hosts, I can see the exported directory: $ showmount -e 6.3-host Exports list on 6.3-host /data Everyone And access it with amd $ ls -l /net/6-3.host/data drwxr-xr-x 5 root wheel 512 Jun 4 2009 git drwxr-xr-x 4586 root wheel 83968 Nov 2 04:50 home I'm trying to retire the 6.3 host and replace it with 9.3 (I know it's old, but it's the best I can do for now). I export the /data directory on the 9.3 system, and I can see it on my 7.2 hosts. $ showmount -e 9.3-host Exports list on 9.3-host: /data Everyone But I can't automount it: $ ls -l /net/9.3-host/data ls: /net/9.3-host/data: No such file or directory If I manually mount the exported directory, it works: $ sudo mount -t nfs 9.3-host:/data /mnt/data/ $ mount | grep nfs 9.3-host:/data on /mnt/data (nfs) $ ls -l /mnt/data total 4 drwxr-xr-x 9 root wheel 512 Dec 20 17:41 iaf2 I've spent some time on Google, but haven't found a solution. I realize these are very old versions, but I'm not in a position to upgrade them right now. My last resort will be to use /etc/fstab to do the NFS mount, but I'd rather avoid that if I can. Thanks for any pointers on how to resolve this. -karl