Editing Qemu-nbd
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | <code>qemu-nbd</code> | |
− | <code> | ||
− | |||
− | |||
− | |||
+ | https://gist.github.com/shamil/62935d9b456a6f9877b5 | ||
− | + | [[modprobe]] nbd max_part=8 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | qemu-nbd --connect=/dev/nbd0 /path/to/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 | ||
− | + | fdisk /dev/nbd0 -l | |
− | + | fsck /dev/nbd0pXXXX | |
+ | |||
+ | qemu-nbd --disconnect /dev/nbd0 | ||
/dev/nbd0 disconnected | /dev/nbd0 disconnected | ||
+ | |||
== Related terms == | == Related terms == | ||
* <code>[[guestmount]]</code> | * <code>[[guestmount]]</code> | ||
− | + | ||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{QEMU}} | * {{QEMU}} | ||
− | + | ||
[[category:KMV]] | [[category:KMV]] | ||
− |
Advertising: