VMware Modern Apps Community
Gabrie1
Commander
Commander

NFS mount: Failed to start rpc-statd.service

Hi

I used this guide to install NFS in Photon ( photon/nfs-utils.md at master · vmware/photon · GitHub ) but when trying to mount an nfs volume I get this error:

root@photon001 [ /opt/MineCraftData/world ]# mount -t nfs storcent02.vanzanten.local:/Backups /mnt/nfs-storcent02/

Failed to start rpc-statd.service: Unit rpc-statd.service failed to load: No such file or directory.

mount.nfs: rpc.statd is not running but is required for remote locking.

mount.nfs: Either use '-o nolock' to keep locks local, or start statd.

mount.nfs: an incorrect mount option was specified

I can't find a way to install rpc-statd service.

Any tips?

Gabrie

http://www.GabesVirtualWorld.com
Reply
0 Kudos
1 Reply
mrityu
Enthusiast
Enthusiast

Am running this as well. seems like a systemd config issue. Per systemd docs looks like there should be a nfs-lock service that will bring up statd when the client tries to mount a volume. will try to play around with it and see if there is any workaround.

Reply
0 Kudos