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

/dev/sda  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

原文地址:https://www.cnblogs.com/zhangjianghua/p/6566215.html