Related logs from journalctl -b: os-prober[6348]: debug: running /usr/lib/os-probes/10zvol-test on /dev/sda5 os-prober[6351]: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda5 50mounted-tests[6361]: debug: creating device mapper device /dev/mapper/osprober-linux-sda5 kernel: device-mapper: table: 253:0: linear: Device lookup failed kernel: device-mapper: ioctl: error adding target to table
Running "sudo sh -x /usr/lib/os-probes/50mounted-tests /dev/sda5" shows that it fails with:
+ logger -t 50mounted-tests debug: creating device mapper device /dev/mapper/osprober-linux-sda5 + dmsetup create -r osprober-linux-sda5 + echo 0 14706655 linear /dev/sda5 0 device-mapper: reload ioctl on osprober-linux-sda5 failed: Device or resource busy Command failed. + dm_device= + [ ] + do_unmount + [ ] + [ -e ] + rmdir /var/lib/os-prober/mount + exit 1
"sudo dmsetup ls" / status / info report that "No devices found".
Related logs from journalctl -b: os-probes/ 10zvol- test on /dev/sda5 os-probes/ 50mounted- tests on /dev/sda5 tests[6361] : debug: creating device mapper device /dev/mapper/ osprober- linux-sda5
os-prober[6348]: debug: running /usr/lib/
os-prober[6351]: debug: running /usr/lib/
50mounted-
kernel: device-mapper: table: 253:0: linear: Device lookup failed
kernel: device-mapper: ioctl: error adding target to table
Running "sudo sh -x /usr/lib/ os-probes/ 50mounted- tests /dev/sda5" shows that it fails with:
+ logger -t 50mounted-tests debug: creating device mapper device /dev/mapper/ osprober- linux-sda5 os-prober/ mount
+ dmsetup create -r osprober-linux-sda5
+ echo 0 14706655 linear /dev/sda5 0
device-mapper: reload ioctl on osprober-linux-sda5 failed: Device or resource busy
Command failed.
+ dm_device=
+ [ ]
+ do_unmount
+ [ ]
+ [ -e ]
+ rmdir /var/lib/
+ exit 1
"sudo dmsetup ls" / status / info report that "No devices found".