格式化硬盘时出现错误is apparently in use by the system

 

linux下格式化硬盘时出现错误:

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

问题:

[root@localhost ~]# mkfs.ext3 /dev/hdb1
mke2fs 1.39 
/dev/hdb1 is apparently in use by the system; will not make a filesystem here!
[root@localhost ~]# mkfs.ext3 /dev/hdc1
mke2fs 1.39
/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


你可能感兴趣的:(linux,System,apparently,dmsetup)