挂载硬盘出错问题的解决

在挂载硬盘分区的时候,会出现mount: /dev/sdd1 already mounted or /data3 busy

或者是在执行格式化分区的时候也会出现

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

解决方法:
[root@localhost ~]# dmsetup status

ResultFromHadoop-ResultFromHadoop: 0 3907026944 linear 
ResultFromHadoop-ResultFromHadoop: 3907026944 3907026944 linear 
ResultFromHadoop-ResultFromHadoop: 7814053888 3907026944 linear

[root@localhost ~]# dmsetup remove_all

[root@localhost ~]# dmsetup status

No devices found

再次执行mount /dev/sdd1 /data3就可以进行挂载了



相关推荐
©️2020 CSDN 皮肤主题: 技术工厂 设计师:CSDN官方博客 返回首页