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

Nikolaus Rath Nikolaus at rath.org
Mon May 2 09:24:35 UTC 2022


On May 02 2022, Laszlo Ersek <lersek at redhat.com> wrote:
> 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.

Ah, that helps. I'll keep an eye out for this. 


Best,
-Nikolaus

-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«



More information about the Libguestfs mailing list