[Libguestfs] nbdkit error: "write reply: NBD_CMD_WRITE: Broken pipe"

Laszlo Ersek lersek at redhat.com
Mon May 2 08:04:47 UTC 2022


On 05/01/22 18:35, Nikolaus Rath wrote:
> Hi,
> 
> I am developing a new nbdkit plugin, and occasionally I am getting
> errors like this:
> 
> |nbdkit: s3backer.8: error: write reply: NBD_CMD_WRITE: Broken pipe
> nbdkit: s3backer.15: error: write reply: NBD_CMD_WRITE: Broken pipe|
> 
> 
> (where "s3backer" is the plugin name).
> 
> I am not sure what to make of these. Can someone advise?
> 
> Looking at the nbdkit source, it looks to me like these are generated
> when there is a problem sending a reply to the nbd client. On the other
> hand, I am using the standard 'nbd-client' program through a Unix
> socket, so I'd think this should not result in errors...?

If your plugin managed to crash nbd-client remotely, that would be
consistent with this symptom.

Laszlo

> 
> Best,
> -Nikolaus
> --
> GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
> 
>              »Time flies like an arrow, fruit flies like a Banana.«
> 
> 
> 
> 
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://listman.redhat.com/mailman/listinfo/libguestfs
> 



More information about the Libguestfs mailing list