Hi Andrei,

On Mon, Dec 29, 2025 at 11:26:26AM +0100, Andrei POPESCU wrote:
> Package: nfs-common
> Version: 1:2.8.4-1
> Followup-For: Bug #1009106
> X-Debbugs-Cc: [email protected]
> 
> Hi,
> 
> In trixie and current sid the paths are correct, but apparently
> the kernel module 'blocklayoutdriver' must be loaded before
> attempting to start nfs-blkmap.service.
> 
> I could verify the error disappears if loading the module manually
> (e.g. by booting in rescue mode).

Please note that the service is not failing:

● nfs-blkmap.service - pNFS block layout mapping daemon
     Loaded: loaded (/usr/lib/systemd/system/nfs-blkmap.service; enabled; 
preset: enabled)
     Active: active (running) since Mon 2025-12-29 21:24:36 CET; 13min ago
 Invocation: a675909952d447de985b7adcce301b3a
       Docs: man:blkmapd(8)
    Process: 801 ExecStart=/usr/sbin/blkmapd (code=exited, status=0/SUCCESS)
   Main PID: 812 (blkmapd)
      Tasks: 1 (limit: 4674)
     Memory: 384K (peak: 2M)
        CPU: 4ms
     CGroup: /system.slice/nfs-blkmap.service
             └─812 /usr/sbin/blkmapd


Dec 29 21:24:36 sid systemd[1]: Starting nfs-blkmap.service - pNFS block layout 
mapping daemon...
Dec 29 21:24:36 sid blkmapd[812]: open pipe file 
/run/rpc_pipefs/nfs/blocklayout failed: No such file or directory
Dec 29 21:24:36 sid systemd[1]: Started nfs-blkmap.service - pNFS block layout 
mapping daemon.

but right the message can be irritating.

As we do not really want to diverge from upstream I will see with them
how we could improve the user experience here, either making it more
clear that when PNFS_BLOCK is enabled as module, the blocklayoutdriver
needs to be enabled, making the service only start as you suggested if
the blocklayoutdriver is loaded and the rpc file present, clearer
documentation or something else.

Regards,
Salvatore

Reply via email to