mkfs.xfs -f /dev/vdc
遇到报错
mkfs.xfs: cannot open /dev/vdc: Device or resource busy
dmsetup ls
vg_09d0343a0628e1abcfc20a139f87ca43-brick_033d5aebc3ea7d8702b87df4e45a1986 (252:5)
rootvg-app (252:0)
vg_09d0343a0628e1abcfc20a139f87ca43-tp_033d5aebc3ea7d8702b87df4e45a1986-tpool (252:3)
vg_09d0343a0628e1abcfc20a139f87ca43-tp_033d5aebc3ea7d8702b87df4e45a1986_tdata (252:2)
vg_09d0343a0628e1abcfc20a139f87ca43-tp_033d5aebc3ea7d8702b87df4e45a1986_tmeta (252:1)
dmsetup remove vg_09d0343a0628e1abcfc20a139f87ca43-brick_033d5aebc3ea7d8702b87df4e45a1986
device-mapper: remove ioctl on vg_09d0343a0628e1abcfc20a139f87ca43-brick_033d5aebc3ea7d8702b87df4e45a1986 failed: Device or resource busy
Command failed
lvremove /dev/vg_09d0343a0628e1abcfc20a139f87ca43/brick_033d5aebc3ea7d8702b87df4e45a1986
Logical volume vg_09d0343a0628e1abcfc20a139f87ca43/brick_033d5aebc3ea7d8702b87df4e45a1986 contains a filesystem in use.