Nfs-blkmap.service open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory

Hello

I’m facing this issue with NFS (regularly at boot, NFS won’t correctly mount) ; after a little bit searching I found this :

 nfs-blkmap.service - pNFS block layout mapping daemon
   Loaded: loaded (/lib/systemd/system/nfs-blkmap.service; disabled; vendor preset: enabled)
   Active: active (running) since Fri 2022-01-14 15:37:15 CET; 2 weeks 4 days ago
 Main PID: 381 (blkmapd)
    Tasks: 1 (limit: 4915)
   Memory: 616.0K
   CGroup: /system.slice/nfs-blkmap.service
           __381 /usr/sbin/blkmapd

janv. 14 15:37:15 ucs blkmapd[381]: open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory

It seems that there is bug open everywhere (ubuntu, debian, rhel), apparently (Bug #1907141 “blkmapd: open pipe file /run/rpc_pipefs/nfs/blockl...” : Bugs : nfs-utils package : Ubuntu) this should fix the issue:

# /etc/systemd/system/nfs-blkmap.service.d/override.conf
[Service]
ExecStartPre=/usr/sbin/modprobe blocklayoutdriver

Alternatively

#!/bin/bash

sudo mkdir /etc/systemd/system/nfs-blkmap.service.d
sudo cat > /etc/systemd/system/nfs-blkmap.service.d/fixpipe.conf <<EOF
#
[Service]
ExecStartPre=/usr/sbin/modprobe blocklayoutdriver
EOF
echo "% Now reboot and check the log"

Will UCS provide some fix or is it safe in the mean time to apply this quick-fix ?

Thanks !

Mastodon