Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] NFS trouble
Date: Tue, 10 Mar 2020 09:43:27
Message-Id: 5603901.lOV4Wx5bFT@peak
In Reply to: Re: [gentoo-user] NFS trouble by Michael
1 On Tuesday, 10 March 2020 09:27:54 GMT Michael wrote:
2 > On Tuesday, 10 March 2020 08:17:41 GMT netfab wrote:
3 > > Le 09/03/20 à 17:03, Peter Humphrey a tapoté :
4 > > > mount -t nfs 192.168.1.4:/mnt/nfs/portage /mnt/clrn/usr/portage #
5 > > > script on the client
6 > > >
7 > > > Result:
8 > > > * Mounting chroot dirs under /mnt/clrn ...
9 > > > mount.nfs: mounting 192.168.1.4:/mnt/nfs/portage failed, reason given
10 > > > by server: No such file or directory
11 > >
12 > > [...]
13 > >
14 > > > Can anyone see the problem?
15 > >
16 > > From the client, please try this :
17 > > > # mkdir /mnt/nfs4
18 > > > # mount -t nfs4 192.168.1.4:/ /mnt/nfs4
19 > > > # ls /mnt/nfs4
20 >
21 > According to the following wiki page, with NFSv4 when mounting NFS from the
22 > client you use relative paths to the virtual root on the server.
23 >
24 > https://wiki.gentoo.org/wiki/Nfs-utils
25 >
26 > Therefore I also think the syntax netfab suggests above is how you should
27 > try it in the first instance; e.g.:
28 >
29 > mount -t nfs 192.168.1.4:portage /mnt/clrn/usr/portage
30 >
31 > or
32 >
33 > mount -t nfs 192.168.1.4:/portage /mnt/clrn/usr/portage
34
35 Well, even after all the times I read that wiki, I still hadn't picked that
36 up. I'm sure I used to be able to read, once upon a time. :(
37
38 Thank you both for the clue. No more head-banging for the moment.
39
40 --
41 Regards,
42 Peter.

Replies

Subject Author
Re: [gentoo-user] NFS trouble Michael <confabulate@××××××××.com>