NFS startup job hangs

Brononius

Active Member
Apr 6, 2017
28
1
43
48
I've updated yesterday my Proxmox VE server through the GUI. Since it contains a kernel upgrade (4.10.17-3-pve), it advised me to reboot. So I did... But unfortunately, the boot process hangs with following error:
A start job is running for NFS server and services (684s / no limit)

When I start the machine in 'single' mode, click 'CTRL-D', it boots normal. It's like the NFS should wait a bit longer to start... Of course, it's a bit annoying that the server won't boot automatically, so a solution would be nice...

My /etc/fstab:
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/pve/root / ext4 errors=remount-ro 0 1
UUID=BED7-BC48 /boot/efi vfat defaults 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0

/dev/sdb1 /mnt/disk1_8TB ext4 defaults 0 0
/dev/sdc1 /mnt/disk2_4TB ext4 defaults 0 0

Any thoughts?
 
Why are you starting nfs server? It's not proxmox default. Check your installed/enabled nfs (server/client) services and their configuration.
 
Why are you starting nfs server? It's not proxmox default.

I'm using nfs-server cause the disks that are connected to this server. I've got some disks that I mount for serveral other servers (VM's) through /etc/export...

Just hit me that I've added this after the standard proxmox installation. :$

And I guess the problem is the exportfs. Seems the export hosts aren't resolvable.
Sounds correct since the export hosts (and also DNS) are VM's on this machine...
 
Last edited:
Hi,

Try to disable the NFS so it will not start at boot. Then create a script that will start the NFS server after the system was finish the boot proces(/etc/rc.local is one possible variant)
 
I've done both. I've added the hosts in /etc/hosts, and after this, it booted correctly.
But to avoid any further issues, I've disable the nfs-server, and started it 3 minutes after the boot...

So nothing to do with promox. :$

Thanks!!!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!