mkfs に失敗し <device> is apparently in use by the system; will not make a filesystem here! エラーが出力される

Solution Verified - Updated -

Issue

  • 新たに作成したボリュームにファイルシステムを作成することができません。この問題は再起動しても解決しません。
# mke2fs -j -m 1 /dev/sdb1  
mke2fs 1.39 (29-May-2006)  
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!
  • RHEL 6.7 で iscsi ベースの LUN を作成すると、fdisk -l で検出することができました。fdisk を使用して、/dev/sde から IPSAN フォーマットの /dev/sde1 を作成しました。
  • その後、pvcreate /dev/sde1 を実行して情報を確認すると、以下のメッセージが出力されます。
Device /dev/sde1 not found (or ignored by filtering)
  • mkfs.ext4 /dev/sde1 を実行すると、以下のメッセージが出力されます。
/dev/sde1 is apparently in use by the system; will not make a filesystem here!

Environment

  • Red Hat Enterprise Linux 4、5、6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.