Created
July 8, 2022 04:06
-
-
Save soyayaos/d43f923fcbc62e145d98683342aeeb18 to your computer and use it in GitHub Desktop.
mdadm raid rescue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mdadm --assemble /dev/md0 /dev/sda2 /dev/sdb2 | |
mdadm --assemble /dev/md1 /dev/sda3 /dev/sdb3 | |
mount /dev/mapper/vg0-root /mnt | |
chroot /mnt /bin/bash | |
passwd root | |
sync | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment