强制重启我的 OpenStack 计算和块存储节点后,它无法再启动;我该如何修复这个问题或恢复其数据?
Gave up waiting for root file system device. common problems:
-Boot args (cat /proc/cmdline)
- check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mapper/ubuntu--vg-ubuntu--lv does not exist. Dropping to a shell!
BusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu6.3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
答案1
已自行解决。
# guestmount -a /dev/mapper/cinder--volumes-volume--NAME -i --rw /mnt
https://docs.openstack.org/image-guide/modify-images.html#guestmount
答案2
更新后,我的系统无法启动,也没有提示我输入根分区的 LUKS 密码。不过,手动解锁后我就能启动了。
注意:更改/dev/vda3
为包含 Ubuntu 的根分区。
(initramfs) cryptsetup luksOpen /dev/vda3 ubuntu
Enter passphrase: *****
(initramfs) exit
系统启动。