間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

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

RHEL6互換環境で勝手にdevice mapperがmultipathを検知してしまい、(別マルチパスソフトウェア経由の)ファイルシステム作成時にエラーとなっていた。

# mkfs.ext4 /dev/sdb1
mke2fs 1.41.12 (17-May-2010)
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!

下記で仮対応

# service mulitipathd stop
# /sbin/dmsetup remove_all

下記で本対応

# chkconfig mulitipathd off
/boot/grub/menu.lstのkernel起動コマンドラインに
nompath追加
# reboot

参考
http://www.kunitake.org/chalow/clsearch.cgi?cat=Linux
http://examplenow.com/ja/dmsetup/
詳細未確認

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。