Mailinglist Archive: opensuse-bugs (4510 mails)

< Previous Next >
[Bug 966061] nbd-client not working with qemu-nbd
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 10 Feb 2016 15:27:02 +0000
  • Message-id: <bug-966061-21960-KaTLjQWOsw@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=966061
http://bugzilla.opensuse.org/show_bug.cgi?id=966061#c4

--- Comment #4 from Martin Pluskal <mpluskal@xxxxxxxx> ---
(In reply to Bernhard Wiedemann from comment #3)
(In reply to Martin Pluskal from comment #2)
qemu-nbd has nothing to do with nbd package, package nbd contains nbd
server, which is not involved at all when qemu-nbd is used.

Furthermore you don't need nbd installed when working with qemu-nbd

/usr/sbin/nbd-client is part of the nbd package.
Ah correct
Are there other clients to use the NBD exported by qemu-nbd?

maybe I should have added earlier
Yes you should have

Steps To Reproduce:
qemu-nbd /path/to/some.qcow2
nbd-client localhost 10809 /dev/nbd0
mount -o loop,offset=$((2048*512)) /dev/nbd0 /mnt/
Why not do something like:
# qemu-nbd -c /dev/nbd0 /var/lib/libvirt/images/sle12.qcow2

Step with nbd-client is not necessary

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References