Public bug reported:

kpartx no longer adds device mappings on Xenial. As a result cloud-
images can't be built.

ubuntu@daily-xenial:~$ sudo kpartx -s -v -a disk.raw 
device-mapper: reload ioctl on loop0p1 failed: No such device
create/reload failed on loop0p1
add map loop0p1 (0:0): 0 4192256 linear 0:0 2048
ubuntu@daily-xenial:~$ dmesg | tail -n5
[38760.357385] device-mapper: ioctl: error adding target to table
[38785.021028] device-mapper: table: 252:0: linear: dm-linear: Device lookup 
failed
[38785.029424] device-mapper: ioctl: error adding target to table
[38902.641279] device-mapper: table: 252:0: linear: dm-linear: Device lookup 
failed
[38902.649726] device-mapper: ioctl: error adding target to table

ubuntu@daily-xenial:~$ dpkg-query -W kpartx
kpartx  0.5.0-7ubuntu10

** Affects: multipath-tools (Ubuntu)
     Importance: High
         Status: New

** Changed in: multipath-tools (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1540660

Title:
  kpartx fails to add device mappings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540660/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to