On Tuesday, 10 March 2020 09:27:54 GMT Michael wrote:
> On Tuesday, 10 March 2020 08:17:41 GMT netfab wrote:
> > Le 09/03/20 à 17:03, Peter Humphrey a tapoté :
> > > mount -t nfs 192.168.1.4:/mnt/nfs/portage /mnt/clrn/usr/portage #
> > > script on the client
> > > 
> > > Result:
> > > * Mounting chroot dirs under /mnt/clrn ...
> > > mount.nfs: mounting 192.168.1.4:/mnt/nfs/portage failed, reason given
> > > by server: No such file or directory
> > 
> > [...]
> > 
> > > Can anyone see the problem?
> > 
> > From the client, please try this :
> > > # mkdir /mnt/nfs4
> > > # mount -t nfs4 192.168.1.4:/ /mnt/nfs4
> > > # ls /mnt/nfs4
> 
> According to the following wiki page, with NFSv4 when mounting NFS from the
> client you use relative paths to the virtual root on the server.
> 
> https://wiki.gentoo.org/wiki/Nfs-utils
> 
> Therefore I also think the syntax netfab suggests above is how you should
> try it in the first instance; e.g.:
> 
> mount -t nfs 192.168.1.4:portage /mnt/clrn/usr/portage
> 
> or
> 
> mount -t nfs 192.168.1.4:/portage /mnt/clrn/usr/portage

Well, even after all the times I read that wiki, I still hadn't picked that 
up. I'm sure I used to be able to read, once upon a time.  :(

Thank you both for the clue. No more head-banging for the moment.

-- 
Regards,
Peter.




Reply via email to