Difference between revisions of "Qemu-nbd"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
*<code> qemu-nbd: Disconnect client, due to: Failed to read request: Unexpected end-of-file before all bytes were read</code> | *<code> qemu-nbd: Disconnect client, due to: Failed to read request: Unexpected end-of-file before all bytes were read</code> | ||
− | + | Solution: | |
− | |||
*<code>[[modprobe nbd]] max_part=8</code> | *<code>[[modprobe nbd]] max_part=8</code> | ||
Latest revision as of 17:36, 12 October 2021
qemu-nbd
QEMU Disk Network Block Device server.
- Man page: https://manpages.debian.org/testing/qemu-utils/qemu-nbd.8.en.html
- https://gist.github.com/shamil/62935d9b456a6f9877b5
qemu-nbd --help
Examples[edit]
qemu-nbd --connect=/dev/nbd0 /var/lib/libvirt/images/your_image.qcow2
qemu-nbd: Failed to open /dev/nbd0: No such file or directory
qemu-nbd: Disconnect client, due to: Failed to read request: Unexpected end-of-file before all bytes were read
Solution:
modprobe nbd max_part=8
fsck -y /dev/nbd0pXXXX
qemu-nbd --disconnect /dev/nbd0 /dev/nbd0 disconnected
Related terms[edit]
guestmount
guestfish
fsck
modprobe nbd max_part=8
See also[edit]
- HDD, S.M.A.R.T., hdparm,
udisksctl
, CHS, ata,smartctl
, WD Elements Desktop Hard Drive - QEMU:
qemu-img
,qemu-ga
,qemu.conf
,virsh qemu
, QEMU guest agent (qemu-ga
), qcow2,qemu-nbd, qemu-img map
,qemu-io
,/etc/libvirt/qemu.conf
, QEMU releases, VENOM,qemu-nbd --help, qemu-system
- NBD,
qemu-nbd
,qemu-nbd --help
Advertising: