Lvm and device mapper

From PrgmrWiki

just some notes from a problem we had and how we solved it... we should fill in some txt later

[root@chessboard xen]# kpartx -av /dev/guests/asdf150jklm
device-mapper: create ioctl failed: Device or resource busy
add map asdf150jklm1 : 0 6000000 linear /dev/guests/asdf150jklm 1


[root@chessboard xen]# dmsetup remove guests-asdf150jklmp1
[root@chessboard xen]# dmsetup ls |grep 150
guests-asdf150jklm	(252, 355)
guests-asdf150jklm1	(252, 357)
guests-asdf81jklm1	(252, 150)
[root@chessboard xen]# dmsetup remove guests-asdf150jklm1
[root@chessboard xen]# kpartx -av /dev/guests/asdf150jklm
add map asdf150jklm1 : 0 6000000 linear /dev/guests/asdf150jklm 1