From owner-freebsd-stable@freebsd.org Tue Jan 17 19:21:40 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 03CC4CB3F5C for ; Tue, 17 Jan 2017 19:21:40 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C01DD1952 for ; Tue, 17 Jan 2017 19:21:39 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1cTZJx-0002gr-JP; Tue, 17 Jan 2017 20:21:30 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Karl Young" , "Daniel Braniss" Cc: "FreeBSD Stable Mailing List" Subject: Re: NFS and amd on older FreeBSD References: <20170111234737.GK26386@mailboy.kipshouse.net> <20170112190125.GR26386@mailboy.kipshouse.net> <343F8AE3-1428-4B0E-A3C3-C60D5B6DB905@cs.huji.ac.il> Date: Tue, 17 Jan 2017 20:21:17 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Ronald Klop" Message-ID: In-Reply-To: <343F8AE3-1428-4B0E-A3C3-C60D5B6DB905@cs.huji.ac.il> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: a37d78a1f62179d0f8bbb55570e85dc4 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: Tue, 17 Jan 2017 19:21:40 -0000 On Fri, 13 Jan 2017 09:06:56 +0100, Daniel Braniss = = wrote: > >> On 12 Jan 2017, at 21:01, Karl Young wrote: >> >> Daniel Braniss(danny@cs.huji.ac.il)@2017.01.12 10:25:03 +0200: >>> >>>> On 12 Jan 2017, at 9:49 AM, Daniel Braniss = >>>> wrote: >>>> >>>> >>>>> On 12 Jan 2017, at 1:47 AM, Karl Young wrote= : >>>>> >>>>> 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 o= n = >>>>> 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 >>>>> >>>>> >>>> >>>> if you changed the export file on the server after you tried to mou= nt = >>>> in on the client, >>>> and will not realise this, if that=E2=80=99s the case, usually rebo= oting the = >>>> client helps. >>>> >>> s/and/amd/ ^%$# hate spell checkers >>> >> >> Thanks Danny >> >> I did try rebooting the client (and server) multiple times to no avai= l. > > > what does amq say? > you can, from another host do: amq -h client-host > > btw, I thing that nfs_server must also run on the client =E2=80=A6 > I have nfs_server_enable=3DYES > $ 20:10:57 ronald@sjakie [~] grep nfs_ser /etc//defaults/rc.conf nfs_server_enable=3D"NO" # This host is an NFS server (or NO). Is your client a NFS server? If not than there is not need for = nfs_server_enable YES on the client. Regards, Ronald. > danny > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.o= rg"