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

 

[root@sr012.cm-snxa-02 qdf]# mkfs.ext4 /dev/sde1 -L /data3
mke2fs 1.41.12 (17-May-2010)
/dev/sde1 is apparently in use by the system; will not make a filesystem here!

 

网上查到一个解决方法

http://www.myhack58.com/Article/54/93/2015/64408.htm

 

[root@hpf-linux~]# dmsetup remove_all
[root@hpf-linux~]# dmsetup status
No devices found

但是重新执行格式化还是报同样的错

我尝试挂载分区

[root@sr012.cm-snxa-02 qdf]# mount /dev/sde1 ./test
mount: unknown filesystem type 'linux_raid_member'

 

百度得知

http://www.68idc.cn/help/jiabenmake/qita/20150120179423.html

 

 

 

 

 

 

 问题解决

 

另外搜到方法如下,未验证

https://superuser.com/questions/447462/disk-is-apparently-in-use-by-the-system

 

posted @ 2017-05-04 15:39  邱比比  阅读(2318)  评论(0编辑  收藏  举报