1 |
On 02/01/2015 03:32 PM, wabenbau@×××××.com wrote: |
2 |
> Am Sonntag, 01.02.2015 um 14:41 |
3 |
> schrieb walt <w41ter@×××××.com>: |
4 |
> |
5 |
>> On 02/01/2015 01:18 PM, walt wrote: |
6 |
>>> I was happy with nfs3 until it stopped working for reasons I still |
7 |
>>> don't understand :( |
8 |
>> |
9 |
>> Well, nfs3 still works, but only after failing on the first attempt: |
10 |
>> |
11 |
>> #mount.nfs a6://usr/portage /usr/portage -o nfsvers=3 hangs |
12 |
>> indefinitely until I hit Ctrl-C. If I then repeat the same command |
13 |
>> immediately the mount succeeds. This is the mysterious nfs black |
14 |
>> magic I've run into many times over the years and makes me dread nfs |
15 |
>> updates. |
16 |
> |
17 |
> Here is the postinstall info from the update to nfs-utils-1.3.1-r1. |
18 |
> Maybe you run into that. |
19 |
> |
20 |
> "If you use OpenRC, the nfsmount service has been replaced with |
21 |
> nfsclient. If you were using nfsmount, please add nfsclient and |
22 |
> netmount to the same runlevel as nfsmount." |
23 |
|
24 |
Thanks wabe. I forgot to mention that I use systemd now, and I've |
25 |
had to work out a few problems with nfs over past months because our |
26 |
gentoo systemd scripts are lagging a bit behind upstream, which is |
27 |
not surprising. |
28 |
|
29 |
For example, I had to add the rpcbind.service to the multi-user |
30 |
systemd target because even nfs3 seems to need it. (I knew when I |
31 |
switched to systemd I was volunteering for some extra problems, but |
32 |
I don't regret it. Yet ;) |
33 |
|
34 |
As I said in my earlier post, I've now disabled nfs4 in both kernel |
35 |
and nfs-utils on all my machines, with the same result: the first |
36 |
attempt to mount an nfs3 share hangs indefinitely, but if I kill the |
37 |
mount process and repeat it immediately, the mount succeeds. |
38 |
|
39 |
I'd love to know if anyone else can reproduce this problem with nfs3 |
40 |
on either OpenRC or systemd. |
41 |
|
42 |
Thanks! |