From owner-freebsd-stable@freebsd.org Thu Jan 12 07:55:30 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 E0E00CAB72D for ; Thu, 12 Jan 2017 07:55:30 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A0E4D1D0D for ; Thu, 12 Jan 2017 07:55:30 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from imac.bs.cs.huji.ac.il ([132.65.179.42]) by kabab.cs.huji.ac.il with esmtp id 1cRa8R-000I9n-9z; Thu, 12 Jan 2017 09:49:23 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: NFS and amd on older FreeBSD From: Daniel Braniss In-Reply-To: <20170111234737.GK26386@mailboy.kipshouse.net> Date: Thu, 12 Jan 2017 09:49:22 +0200 Cc: FreeBSD Stable Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: References: <20170111234737.GK26386@mailboy.kipshouse.net> To: Karl Young X-Mailer: Apple Mail (2.3124) 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 07:55:31 -0000 > On 12 Jan 2017, at 1:47 AM, Karl Young wrote: >=20 > 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 >=20 >=20 > On the 7.2 hosts, I can see the exported directory: >=20 > $ showmount -e 6.3-host > Exports list on 6.3-host > /data Everyone >=20 > And access it with amd >=20 > $ ls -l /net/6-3.host/data >=20 > drwxr-xr-x 5 root wheel 512 Jun 4 2009 git > drwxr-xr-x 4586 root wheel 83968 Nov 2 04:50 home >=20 > 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). >=20 > I export the /data directory on the 9.3 system, and I can see it on my > 7.2 hosts. >=20 > $ showmount -e 9.3-host > Exports list on 9.3-host: > /data Everyone >=20 > But I can't automount it: >=20 > $ ls -l /net/9.3-host/data > ls: /net/9.3-host/data: No such file or directory >=20 > If I manually mount the exported directory, it works: >=20 > $ sudo mount -t nfs 9.3-host:/data /mnt/data/ > $ mount | grep nfs > 9.3-host:/data on /mnt/data (nfs) >=20 > $ ls -l /mnt/data > total 4 > drwxr-xr-x 9 root wheel 512 Dec 20 17:41 iaf2 >=20 > 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. >=20 > Thanks for any pointers on how to resolve this. >=20 > -karl >=20 >=20 if you changed the export file on the server after you tried to mount in = on the client, and will not realise this, if that=E2=80=99s the case, usually rebooting = the client helps. my .5 cents danny >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org"