Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 22:39:43 +0000
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Daniel Braniss <danny@cs.huji.ac.il>, Karl Young <karly@kipshouse.org>
Cc:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: NFS and amd on older FreeBSD
Message-ID:  <YTXPR01MB01896F7CAFABE1DBE81FD995DD780@YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM>
In-Reply-To: <343F8AE3-1428-4B0E-A3C3-C60D5B6DB905@cs.huji.ac.il>
References:  <20170111234737.GK26386@mailboy.kipshouse.net> <E31AF4B5-9488-4F1A-9584-BD6867E2ADAE@cs.huji.ac.il> <C0352C5A-E023-4BF1-B272-67A5F2BE5375@cs.huji.ac.il> <20170112190125.GR26386@mailboy.kipshouse.net>, <343F8AE3-1428-4B0E-A3C3-C60D5B6DB905@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
Do you have exactly the same export options specified in /etc/exports
for the 9.3 server as the 6.3 one?
Beyond that, I can only suggest capturing packets when the automount fails
and looking at them in wireshark to see what is actually happening.

rick

________________________________________
From: owner-freebsd-stable@freebsd.org <owner-freebsd-stable@freebsd.org> o=
n behalf of Daniel Braniss <danny@cs.huji.ac.il>
Sent: Friday, January 13, 2017 3:06:56 AM
To: Karl Young
Cc: FreeBSD Stable Mailing List
Subject: Re: NFS and amd on older FreeBSD

> On 12 Jan 2017, at 21:01, Karl Young <karly@kipshouse.org> 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 <danny@cs.huji.ac.il> wrote:
>>>
>>>
>>>> On 12 Jan 2017, at 1:47 AM, Karl Young <karly@kipshouse.org> 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 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 reali=
ze
>>>> 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 mount i=
n on the client,
>>> and will not realise this, if that=92s the case, usually rebooting the =
client helps.
>>>
>> s/and/amd/ ^%$# hate spell checkers
>>
>
> Thanks Danny
>
> I did try rebooting the client (and server) multiple times to no avail.


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 =85
I have nfs_server_enable=3DYES

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.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YTXPR01MB01896F7CAFABE1DBE81FD995DD780>