Open sjorge opened 2 years ago
Poke @papertigers
I think I recall seeing something similar, I will try and trace down what's happening and how viable a fix might be.
I think the rpc.statd one is a systemd related change https://github.com/systemd/systemd/commit/db256aab13d8a89d583ecd2bacf0aca87c66effc but I don't think that is the problem here, as it works fine in 18.04 which also has the rpc.statd issue.
Okay I have setup one OmniOS sparse zone sharing a directory and one ubuntu 20.04 lx zone.
sharemgr share -F nfs -o anon=1000,ro /share
root@ubuntu20:~# mount -t nfs -o vers=4,ro 192.168.50.13:/share /share
root@ubuntu20:/share# ls
hello
How are you attempting to setup the share via systemd or /etc/fstab?
Spoke with @sjorge over irc. It seems that mount attempts versions 4.2, 4.1, 4.0, and 3. Specifying -o vers=4
is a workaround for now. Need to do a refresh into how lx_lockd is triggered and what might be happening.
And trying all them manually, only vers=4 works the others fail.
I noticed NFS share mounting was broken when trying to upgrade to a new Ubuntu 20.04 images from 16.04 (new image, not an in place upgrade)
Doesn't look to be SmartOS specific as OmniOS has the same problem,
I noticed on I noticed rpc.statd fails to start according to systemd, however the process is running when checking with ps. I also noticed that on Ubuntu 20.04 lx_lockd isn't started, but it runs fine manually. I think mount -t nfs never gets to the state where we start lx_lockd.
I also noticed the rpc.statd failure on Ubuntu 18.04 on OmniOS but there mounting works fine. I'm guessing it's a mix of systemd and nfs-common changes that is causing the failure.