GNU/Linux >> Linux の 問題 >  >> Cent OS

BTRFS:不足しているデバイスが多すぎます。書き込み可能なマウントは許可されていません

問題

ブート中に BTRFS デバイスをアセンブルすると、エラーで失敗します

BTRFS: too many missing devices, writeable mount is not allowed

ディスクが誤って削除されました

解決策

RAID アレイにディスクが見つからないため、ファイルシステムをマウントできません。

以下は dmesg からのログです:

[ 44.706956] btrfs: disk space caching is enabled
[ 44.708006] btrfs: failed to read the system array on sdd1
[ 44.721272] btrfs: open_ctree failed
[ 45.437152] nr_pdflush_threads exported in /proc is scheduled for removal
[ 45.437280] sysctl: The scan_unevictable_pages sysctl/node-interface has been disabled for lack of a legitimate use case. If you have one, please send an email to [email protected].
[ 109.750996] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[ 123.375147] device fsid 06182482-9e8c-4e92-a026-ee045ffa71df devid 1 transid 2351588 /dev/sdd1
[ 123.379134] btrfs: allowing degraded mounts
[ 123.379137] btrfs: enabling auto recovery
[ 123.379137] btrfs: disk space caching is enabled
[ 123.380401] warning devid 4 missing
[ 123.385362] btrfs: bdev (null) errs: wr 16, rd 0, flush 0, corrupt 0, gen 0
[ 123.385367] btrfs: bdev /dev/sde1 errs: wr 16, rd 0, flush 0, corrupt 0, gen 0
[ 123.446679] Btrfs: too many missing devices, writeable mount is not allowed
[ 123.457684] btrfs: open_ctree failed

レイドでは、マウントを成功させるために一定数のデバイスが必要です。一部のデバイスが存在しない/故障した/交換された場合は、以下のオプションを使用してファイル システムのマウントを試行し、デバイス セットの更新を続行できます。

以下のオプションを同じ順序で試してください:

# mount -o degraded,ro /dev/sdd1 /u01
dmesg | tail
# mount -o degraded,recovery /dev/sdd1 /u01
dmesg | tail
# mount -o degraded,recovery,ro /dev/sdd1 /u01
dmesg | tail


Cent OS
  1. V4l2loopbackデバイスがアプリケーションに表示されませんか?

  2. Btrfsサブボリュームとフォルダー?

  3. ループデバイスにUbuntuをインストールしますか?

  1. Btrfs スナップショットを作成してマウントする方法

  2. ループバック デバイスの許容数を拡張する方法

  3. udev の起動:udevd inotify_init に失敗しました:開いているファイルが多すぎます

  1. CentOS/RHEL 7 でファイルシステムが順番どおりにマウントされない

  2. CentOS/RHEL 7 での再起動後に CIFS 共有ファイルシステムがマウントされない

  3. マウント:コマンドが見つかりません