device-mapper: remove ioctl failed: Device or resource busy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
While building a VM today with "ubuntu-vm-builder kvm jaunty":
...
2009-02-27 14:54:26,202 INFO Can not write log, openpty() failed (/dev/pts not mounted?)
2009-02-27 14:54:26,282 INFO Can not write log, openpty() failed (/dev/pts not mounted?)
2009-02-27 14:54:26,324 INFO Can not write log, openpty() failed (/dev/pts not mounted?)
2009-02-27 14:54:27,136 INFO Can not write log, openpty() failed (/dev/pts not mounted?)
2009-02-27 14:54:30,271 INFO Copying to disk images
2009-02-27 14:54:49,060 INFO Installing bootloader
2009-02-27 14:54:55,501 INFO Unmounting target filesystem
2009-02-27 14:54:55,833 INFO device-mapper: remove ioctl failed: Device or resource busy
2009-02-27 14:54:55,834 INFO ioctl: LOOP_CLR_FD: Device or resource busy
2009-02-27 14:54:55,835 INFO Cleaning up
Traceback (most recent call last):
File "/usr/bin/
VMBuilder.run()
File "/usr/lib/
frontend.run()
File "/usr/lib/
vm.create()
File "/usr/lib/
raise e
VMBuilder.
ioctl: LOOP_CLR_FD: Device or resource busy
sudo losetup -a shows:
/dev/loop0: [fc00]:5914861 (/tmp/vmbuilder
sudo kpartx -l /dev/loop0:
loop0p1 : 0 7998048 /dev/loop0 32
loop0p2 : 0 2000000 /dev/loop0 7998080
however I only have a /dev/mapper/loop0p1 (no /dev/mapper/
/tmp/vmbuilderv
Bye
I am seeing this too.
I'll post the debug/verbose tail of the log as soon as it comes out.