[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#850464: nfs-blkmap.service fails to start at boot



Hello Nye Liu,

Thanks for your feedback on this issue!

On Wed, Feb 01, 2017 at 08:41:46PM -0800, Nye Liu wrote:
> Same thing for me:
> 
> -- Logs begin at Wed 2017-02-01 20:18:34 PST, end at Wed 2017-02-01 20:36:38 PST. --
> Feb 01 20:18:35 jane systemd[1]: Starting pNFS block layout mapping daemon...
> Feb 01 20:18:35 jane systemd[1]: nfs-blkmap.service: PID file /var/run/blkmapd.pid not readable (yet?) after start: No such file or directory
> Feb 01 20:18:35 jane blkmapd[243]: open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory
> --- note 2 minute delay here ---
> Feb 01 20:20:05 jane systemd[1]: nfs-blkmap.service: Start operation timed out. Terminating.
> Feb 01 20:20:05 jane systemd[1]: Failed to start pNFS block layout mapping daemon.
> Feb 01 20:20:05 jane systemd[1]: nfs-blkmap.service: Unit entered failed state.
> Feb 01 20:20:05 jane systemd[1]: nfs-blkmap.service: Failed with result 'timeout'.
> 
> You can seem to start later by hand though:
> 
> Feb 01 20:32:14 jane systemd[1]: Starting pNFS block layout mapping daemon...
> Feb 01 20:32:14 jane blkmapd[6556]: open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory
> Feb 01 20:32:14 jane systemd[1]: Started pNFS block layout mapping daemon.
> 
> note that it has the same error.
[...]

Very useful information.

Could you please test editing nfs-blkmap.service on your system
and replace:
PIDFile=/var/run/blkmapd.pid
with:
PIDFile=/run/blkmapd.pid
.. and report back if that solves the issue or not?

(It looks to me like debian/patches/21-no-more-var-run.patch needs
to be updated to also cover systemd/nfs-blkmap.service )

Regards,
Andreas Henriksson


Reply to: