/dev/hdb1 is apparently in use by the system; will not make a filesystem here!解决方法

[root@localhost ~]# mkfs.ext3 /dev/hdb1
mke2fs 1.39 (29-May-2006)
/dev/hdb1 is apparently in use by the system; will not make a filesystem here!
[root@localhost ~]# mkfs.ext3 /dev/hdc1
mke2fs 1.39 (29-May-2006)
/dev/hdc1 is apparently in use by the system; will not make a filesystem here!

解决方法:

[root@localhost ~]# dmsetup status
pdc_c jehibeegp1:0 160086465 linear
pdc_c jehibeeg:0 320172800 striped 2 3:64 22:0 1 AA
[root@localhost ~]# dmsetup remove_all
[root@localhost ~]# dmsetup status
No devices found