| Summary: | qemu-nbd failes to mount a qcow2 image | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Stig-Ørjan Smelror <smelror> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | bequimao.de, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | qemu-img-2.8.1.1-3.mga6.x86_64 | CVE: | |
| Status comment: | |||
| Attachments: |
CLI output of qemu-nbd
CLI output of qemu-nbd (more detailed) |
||
|
Description
Stig-Ørjan Smelror
2017-06-03 10:18:25 CEST
Marja Van Waes
2017-06-03 20:02:38 CEST
Assignee:
bugsquad =>
thierry.vignaud Created attachment 9389 [details]
CLI output of qemu-nbd
Here the command qemu-ndb --connect works, though I cannot mount the partitions.
Error message is
# mount /dev/nbd0p1 /mnt/
mount: special device /dev/nbd0p1 does not exist
Host is Mageia 6 Cauldron, Client Image is a working instance of Mageia 6 Cauldron, too.CC:
(none) =>
bequimao.de Works for me as in other distros. eg: modprobe nbd max_part=63 cd /var/lib/libvirt/images/ qemu-nbd -c /dev/nbd0 mageia-DVD.qcow2 mkdir /mnt/image mount /dev/nbd0 /mnt/image ls /mnt/image qemu-nbd -c /dev/nbd1 mageia-GL.qcow2 mount /dev/nbd1p1 /mnt/image ls /mnt/image/ (In reply to Thierry Vignaud from comment #2) > Works for me as in other distros. > eg: > > modprobe nbd max_part=63 > cd /var/lib/libvirt/images/ > qemu-nbd -c /dev/nbd0 mageia-DVD.qcow2 > mkdir /mnt/image > mount /dev/nbd0 /mnt/image > ls /mnt/image > > qemu-nbd -c /dev/nbd1 mageia-GL.qcow2 > mount /dev/nbd1p1 /mnt/image > ls /mnt/image/ Thanks Thierry. I don't know what I did wrong, but removing nbd and adding it with your suggestion made it work as expected. Had to disconnect before rmmod. # qemu-nbd --disconnect /dev/nbd0 /dev/nbd0 disconnected Cheers, Stig Created attachment 9392 [details]
CLI output of qemu-nbd (more detailed)
I still can't mount the partition here. I wonder why the partitions are not included under /dev/nbd*, though everything else seems ok.
It works on the same multiboot system (UEFI, GPT) with openSUSE Leap 42.2.
Attachment 9389 is obsolete:
0 =>
1
Ulrich Beckmann
2017-06-07 16:45:42 CEST
Source RPM:
qemu-img-2.8.0-5.mga6 =>
qemu-img-2.8.1.1-3.mga6.x86_64 Version qemu-img-2.8.1.1-4.mga6.x86_64 now tested with sucess. Setting status to resolved, fixed. Thanks, Ulrich Resolution:
(none) =>
FIXED |