格式化硬盘时报错: dev is apparently in use by the system; will not make a filesystem here
2013-11-13 16:44
1381 查看
系统:oracle linux 6.0
公司刚来一块新sata硬盘,在fdisk之后,想格式化为ext4,
在执行mkfs.ext4 /dev/sdc1时,报错如下:
/dev/sdc1 is apparently in use by the system; will not make a filesystem here!
显然是已经被系统占用,lsof 后无果.
/sbin/dmsetup status
显示多出来一个.
/sbin/dmsetup remove /dev/mapper/ddf1_4c5349202
/sbin/dmsetup status
显示已经没有
重新mkfs.ext4 /dev/sdc1成功.
此时需将UUID及其挂载目录写入fstab.
造成此事件的原因为linux系统解决MPIO问题,自动映射到/dev/mapper目录
也可以直接操作/dev/mapper/下的设备更为方便.
smartctl -A /dev/sdc
查看使用时长等等信息
Power_On_Hours 0x0012 100 100 000 Old_age Always - 15
公司刚来一块新sata硬盘,在fdisk之后,想格式化为ext4,
在执行mkfs.ext4 /dev/sdc1时,报错如下:
/dev/sdc1 is apparently in use by the system; will not make a filesystem here!
显然是已经被系统占用,lsof 后无果.
/sbin/dmsetup status
显示多出来一个.
/sbin/dmsetup remove /dev/mapper/ddf1_4c5349202
/sbin/dmsetup status
显示已经没有
重新mkfs.ext4 /dev/sdc1成功.
此时需将UUID及其挂载目录写入fstab.
造成此事件的原因为linux系统解决MPIO问题,自动映射到/dev/mapper目录
也可以直接操作/dev/mapper/下的设备更为方便.
smartctl -A /dev/sdc
查看使用时长等等信息
Power_On_Hours 0x0012 100 100 000 Old_age Always - 15
相关文章推荐
- Centos下无法格式化硬盘/dev/sd* is apparently in use by the system; will not make a filesystem here!
- 格式化分区,报/dev/sdb1 is apparently in use by the system; will not make a filesystem here!
- /dev/sdxx is apparently in use by the system; will not make a filesystem here! 解决方法
- /dev/sdb1 is apparently in use by the system; will not make a filesystem here!
- 分区无法格式化?/dev/sda2 is apparently in use by the system; will not make a filesystem here!
- /dev/sdxx is apparently in use by the system; will not make a filesystem here! 解决方法
- /dev/sdc is apparently in use by the system; will not make a filesystem here
- /dev/sdxx is apparently in use by the system; will not make a filesystem here! 解决方法
- /dev/sdxx is apparently in use by the system; will not make a filesystem here! 解决方法
- /dev/sdxx is apparently in use by the system; will not make a filesystem here! 解决方法
- fedora 18格式化磁盘报“/dev/sdb is apparently in use by the system; will not make a filesystem here!”解决办法
- /dev/sdb1 is apparently in use by the system; will not make a filesystem here
- /dev/hdb1 is apparently in use by the system; will not make a filesystem here!解决方法
- /dev/XXX is apparently in use by the system; will not make a filesystem here!
- /dev/sdc1 is apparently in use by the system; will not make a filesystem here!
- /dev/hdb1 is apparently in use by the system; will not make a filesystem here!解决方法
- 挂载磁盘的问题(/dev/sdb1 is apparently in use by the system; will not make a 文件系统 here!)
- /dev/hdb1 is apparently in use by the system; will not make a filesystem here!解决方法
- 挂载磁盘的问题(/dev/sdb1 is apparently in use by the system; will not make a 文件系统 here!)
- 挂载磁盘的问题(/dev/sdb1 is apparently in use by the system; will not make a 文件系统 here!)