@ wrote... (2 years, 1 month ago)

Just a quick note before I forget what little I understand. Something happened (or because I installed proxmox on top of an existing debian install, I honestly can't remember since it was like 4 weeks ago) during my install of proxmox. Long story short is that the nfs server doesn't work on reboot.

$ showmount -e
clnt_create: RPC: Program not registered

So then if you manually run rpc.mountd

$ rpc.mountd

$ showmount -e
Export list for proxmox-1

But then you can't actually mount anything until you run rpc.nfsd

$ rpc.nfsd
$ mount proxmox-1:/tank/etc /tmp/etc
# totally works
$ ps auxw |grep rpc.nfsd
# no results

So I'm not sure what's going on. I do know that the half init.d half systemd scripts are somehow buggy.

The really crappy thing is that until I figure out the real solution I can't safely reboot my boxes.

Category: tech, Tags: proxmox
Comments: 3
Frank @ August 25, 2018 wrote... (4 months, 3 weeks ago)

thanks for pointing this out, I have been having the same problem in Debian 9 (I am running it without systemd).

I think your hunch looks right: that the /etc/init.d/rpcbind is incomplete.

I am trying with putting this in /etc/rc.local:

## start portmapper manually and zfs shares
/sbin/zfs share -a
Kurt @ August 25, 2018 wrote... (4 months, 3 weeks ago)

I've since figured out at least one problem that likely solves this.

Add manual share to /etc/exports

# /etc/exports

This kick starts the nfs subsystem and allows shares to work.

Frank @ August 25, 2018 wrote... (4 months, 3 weeks ago)

yes, you're right… it doesn't like starting shared when /etc/exports is empty!

I had forgotten that trick.

The manual commands are a good reference anyway, helpful for getting unstuck, thanks!

Click here to add a comment