On Fri, Nov 10, 2006 at 10:33:22PM +0000, John Hannfield wrote:
> Hello,
> I have a nbd enabled kernel, 2.6.16.29 running on debian-amd64
> Etch with
>
> nbd-client 2.8.7-1
> nbd-server 2.8.7-1
>
> In /dev/ I have nbd[1-15]
> However on boot up or when doing any LVM commands,
> pvscan, lvscan etc, I get lots of nbd errors.
>
> /dev/nbd0: read failed after 0 of 4096 at 0: Input/output error
> /dev/nbd0: read failed after 0 of 4096 at 2199022141440: Input/output error
> /dev/nbd0: read failed after 0 of 4096 at 0: Input/output error
> /dev/nbd1: read failed after 0 of 4096 at 2199022141440: Input/output error
> /dev/nbd1: read failed after 0 of 4096 at 0: Input/output error
> .....
>
> Is there a way to disable these error messages?
> Even if I remove the /dev entries, I still get the errors on boot.
That is related to LVM trying to access unconnected NBD devices, not to
NBD itself. There is a workaround; some googling on the combination of
NBD and LVM a while back gave me a link to the post on the LVM
mailinglist that explains it.