在挂载硬盘分区的时候,会出现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就可以进行挂载了
本文转自 Tenderrain 51CTO博客,原文链接:http://blog.51cto.com/tenderrain/1905979