NFS and amd on older FreeBSD
Greg Byshenk
freebsd at byshenk.net
Thu Jan 12 08:06:13 UTC 2017
On Wed, Jan 11, 2017 at 03:47:37PM -0800, 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
>
> [...]
>
> $ 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.
If you can mount the share manually, there is almost
certainly nothing wrong with the server. Based on the
error ("No such file or directory"), I would recommend
checking your amd config on the client.
--
greg byshenk - gbyshenk at byshenk.net - Leiden, NL
More information about the freebsd-stable
mailing list