qemu-nbd -c /dev/nbd0 fails to map partitions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
Xenial |
Triaged
|
High
|
Unassigned |
Bug Description
[impact]
4.4.0-101+ (also 4.4.0-109) Ubuntu kernels no longer can use qemu-nbd to mount virtual disks onto a local filesystem (see test case for reproducer). 4.4.0-98 works without issue.
I was able to bisect the issue down to 907196aba0d891c
Installing the mainline kernel shows mainline is _not_ affected by this bug.
In addition this is also reported in debian here:
https:/
[test case]
# given a vmdk disk with multiple partitions
sudo modprobe nbd
sudo qemu-nbd -d /dev/nbd0
sudo qemu-nbd -r -c /dev/nbd0 disk.vmdk
ls /dev/nbd0*
# here you won't see multiple partition, nor be able to mount a partition locally
description: | updated |
description: | updated |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → High |
status: | Incomplete → Triaged |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
tags: | added: kernel-da-key |
tags: | added: cscc |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1743026
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.