Difference between revisions of "Qemu-nbd"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | <code>[[qemu]]-[[nbd]]</code> [[QEMU]] Disk Network Block Device Server. | + | <code>[[qemu]]-[[nbd]]</code> [[QEMU]] Disk [[Network Block Device]] Server. |
* Man: https://manpages.debian.org/testing/qemu-utils/qemu-nbd.8.en.html | * Man: https://manpages.debian.org/testing/qemu-utils/qemu-nbd.8.en.html | ||
* https://gist.github.com/shamil/62935d9b456a6f9877b5 | * https://gist.github.com/shamil/62935d9b456a6f9877b5 |
Revision as of 15:31, 3 October 2021
qemu-nbd
QEMU Disk Network Block Device Server.
- Man: https://manpages.debian.org/testing/qemu-utils/qemu-nbd.8.en.html
- https://gist.github.com/shamil/62935d9b456a6f9877b5
qemu-nbd --help
Contents
Examples
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
See also
Advertising: