Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] NFS trouble
Date: Mon, 09 Mar 2020 17:04:07
Message-Id: 7735320.T7Z3S40VBb@peak
Hello list,

I decided to have another go at fixing my nfs setup. The host
exports its portage directory to this host, I used to use nfs-v3
for this, but it wasn't working right so I'm trying with v4.

The problem is that, every time I tell this machine to mount the remote
directory, the server insists that it doesn't exist. I can't see what I've
missed. Here's some detail:

mount -t nfs /mnt/clrn/usr/portage # script on the client

* Mounting chroot dirs under /mnt/clrn ...
mount.nfs: mounting failed, reason given by server: No such file or directory

$ cat /etc/exports		# on the server
/mnt/nfs \,sync,no_subtree_check,anonuid=250,anongid=250,crossmnt,fsid=0)  
/mnt/nfs/portage \,sync,insecure,nohide,no_subtree_check,all_squash,anonuid=250,anongid=250
/mnt/nfs/port.resc \,sync,insecure,nohide,no_subtree_check,all_squash,anonuid=250,anongid=250

$ sudo exportfs -v		# on the server

Can anyone see the problem?



Subject Author
Re: [gentoo-user] NFS trouble netfab <netbox253@××××.fr>