mkfs文件系统_mkfs拒绝使用消息“显然已被系统使用; 不会在这里建立文件系统!”...

mkfs文件系统

I have a disk from another server installed on a new server. However, when I try to make a filesystem on it, mkfs reports

我在新服务器上安装了另一台服务器的磁盘。 但是,当我尝试在其上创建文件系统时, mkfs报告

# mkfs -t ext4 /dev/sdd1
mke2fs 1.42.8 (20-Jun-2013)
/dev/sdd1 is apparently in use by thesystem; will not make a filesystem here!

This is a new disk to the new server. It is not mounted.

这是新服务器的磁盘。 未安装。

I deleted the partition sdd1 and recreated it using cfdisk. It did not help. The same error message.

我删除了分区sdd1,并使用cfdisk重新创建了它。 它没有帮助。 相同的错误消息。

What’s wrong here? How to fix it?

怎么了 如何解决?

This is possibly caused by a RAID signature on the disk showing that the disk belongs to a RAID.

这可能是由于磁盘上的RAID签名表明该磁盘属于RAID而引起的。

If you are sure that the disk will never be used in a RAID system anymore, you may follow this tutorials to clean the RAID signature: How to Clean RAID Signatures on Linux

如果您确定该磁盘将不再在RAID系统中使用,则可以按照以下教程来清理RAID签名: 如何在Linux上清理RAID签名

This issue can also be caused by multipath, if it is installed and in use. The device will need to included in multipath’s blacklist. (tip from Marcus White)

如果已安装并使用多路径,也可能是由多路径引起的。 该设备将需要包含在多路径的黑名单中。 ( 来自马库斯·怀特的小贴士

翻译自: https://www.systutorials.com/mkfs-refuses-to-make-filesystem-with-message-is-apparently-in-use-by-the-system-will-not-make-a-filesystem-here/

mkfs文件系统

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值