Can't remove lv with dmsetup - "Device or resource busy"
I am trying to remove a volume group on a single drive that contains a single logical volume. This is on openfiler which I believe is CentOS based.
dmsetup info vg2-backup shows an open count of 1.
Try running dmsetup remove vg2-backup but it fails because it says device or resource busy.
How do I find the process that is tying this up so I can kill it and remove the lv and then volume group?