i have a dynamic disk next to my root partition and ldmtool fails to create a device-mapper device for it because the root partition is obviously mounted and device-mapper complains that the device is busy. i've tried the same thing from a livecd and everything works fine.
Device Start End Sectors Size Type
/dev/sda1 2048 195354564 195352517 93.2G Linux filesystem
/dev/sda2 195354565 1953523086 1758168522 838.4G Microsoft LDM data
/dev/sda3 1953523087 1953525134 2048 1M Microsoft LDM metadata
$ sudo ldmtool create all
Unable to create volume Volume1 in disk group 51bd3060-8f2f-11ed-8b65-00d86154d8d8: ldm_vol_WORKSTATION-Dg0_Volume1: Stacking NODE_DEL [verify_udev]
[]
[ 1263.805769] device-mapper: table: 254:0: linear: Device lookup failed (-EBUSY)
[ 1263.805778] device-mapper: ioctl: error adding target to table