blkmapd: open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory

Bug #1907141 reported by pfg
76
This bug affects 17 people
Affects Status Importance Assigned to Milestone
nfs-utils (Debian)
New
Unknown
nfs-utils (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

for a long time I have seen such an error in the boot log

Dec 07 21:00:07 homl blkmapd[267]: open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory

while the NFS works without problems
recently found a solution to this error
https://bugzilla.redhat.com/show_bug.cgi?id=1753870

add kernel module pre-load to the unit

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

and the next time the system boots this error did not appear

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nfs-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Davide Aguiari (gorghino) wrote :

I have this error on my Pop_OS! too.

gorgo@pop-os
------------
OS: Pop!_OS 20.10 x86_64
Host: Blade 15 Advanced Model (Early 2020) - RZ09-033 5.04
Kernel: 5.11.0-7612-generic
Uptime: 15 mins
Packages: 3056 (dpkg), 30 (flatpak)
Shell: bash 5.0.17
Resolution: 2560x1440
DE: GNOME 3.38.3
WM: Mutter
WM Theme: Pop
Theme: Pop-dark [GTK2/3]
Icons: Pop [GTK2/3]
Terminal: gnome-terminal
CPU: Intel i7-10875H (16) @ 2.300GHz
GPU: Intel UHD Graphics
Memory: 2607MiB / 15863MiB

Revision history for this message
Davide Aguiari (gorghino) wrote :

nfs-common 1:1.3.4-2.5ubuntu6

Revision history for this message
Thomas Debesse (illwieckz) wrote (last edit ):

I reproduce on Ubuntu 22.04.1 LTS, I can workaround the problem this way:

modprobe blocklayoutdriver && systemctl restart nfs-blkmap.service

Here is the NFS package version:

nfs-kernel-server 1:2.6.1-1ubuntu1

Edit: in fact not this doesn't workaround the problem.

Revision history for this message
Thomas Debesse (illwieckz) wrote :

In fact the modprobe only workarounds one problem, the service is still failing.

Before `modprobe blocklayoutdriver`, I got that:

```
Starting pNFS block layout mapping daemon...
open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory
Started pNFS block layout mapping daemon.
nfs-blkmap.service: Main process exited, code=killed, status=6/ABRT
nfs-blkmap.service: Failed with result 'signal'.
```

After, I get that:

```
Starting pNFS block layout mapping daemon...
nfs-blkmap.service: Can't open PID file /run/blkmapd.pid (yet?) after start: Operation not permitted
Started pNFS block layout mapping daemon.
nfs-blkmap.service: Main process exited, code=killed, status=6/ABRT
nfs-blkmap.service: Failed with result 'protocol'.
```

Revision history for this message
Heinrich Schuchardt (xypron) wrote (last edit ):

@pfg21rus

You suggested to add
ExecStartPre=/usr/bin/modprobe blocklayoutdriver
to systemd/nfs-blkmap.service

I suggest that you send a patch to <email address hidden> and attach the link for your patch in https://lore.kernel.org/linux-nfs to this bug report.

tags: added: foundations-todo
Changed in nfs-utils (Ubuntu):
importance: Undecided → Medium
Changed in nfs-utils (Debian):
importance: Undecided → Unknown
status: New → Unknown
Changed in nfs-utils (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.