免責事項:これは英文の記事「Photon OS based Virtual appliance fails to boot with error: "Failed to start File System Check on /dev/vg_root_0/lv_root_0"」の日本語訳です。
記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
[FAILED] Failed to start File System Check on /dev/vg_root_0/lv_root_0
[DEPEND] Dependency failed for /sysroot.
[DEPEND] Dependency failed for Initrd Root File System.
[DEPEND] Dependency failed for Reload Configuration from the Real Root.[FAILED] Failed to start File System #-####-####-###-##########
[DEPEND] Dependency failed for /var/log/vmware.
[DEPEND] Dependency failed for Local File Systems.
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"/storage/logディレクトリなどの特定のマウントポイントに対して "Dependency failed" エラーが表示される場合があります。[FAILED] Failed to start File Syste= #-####-####-####-############
[DEPEND] Dependency failed for /storage/log.
[DEPEND] Dependency failed for Local File Systems.
You are in emergency Mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default Mode.
Give root password for Maintenance
(or press Control-D to continue):
dracut-initqueue[441]: Warning: Could not boot.
Starting Dracut Emergency Shell ...
Warning: /dev/vg_root_0/lv_root_0 does not exist
Generating "/run/initramfs/rdsosreport. txt"
Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport. txt" to a USB stick or /boot
after mounting them and attach it to a bug report.
Give root password for maintenance
or press Control-D to continue):この問題を解決するには、fsckコマンドを自動(推奨)または手動で実行して、ファイルシステムをスキャンし、修正します。
注: 先に進む前に、影響を受けている仮想アプライアンスのオフラインスナップショットを作成してください。
手順:
systemctl status systemd-fsck-rootfsck -y /dev/<mount>注: -y スイッチを使用すると、ノードが自動的に修正されます。<mount>を問題が発生しているマウントポイントに置き換えます。fsck -y /dev/mapper/vg_root_0-lv_root_0または、以下のコマンドを使用して手動でファイルシステムのチェックと修復を実行します(パーティションは一例です)。
e2fsck -y /dev/vg_root_0/lv_root_0shutdown -h now