Linux Doesn't Boot After Replacing /dev/sda in RAID1 (mdadm)


I have a Linux Ubuntu 20.04.4 LTS server from OVH. It has a mdadm software raid1 with 4 disks /dev/sda, /dev/sdb, /dev/sdc, /dev/sdb. After replacing disk /dev/sda and restoring the raid, the server doesn't want to boot. I have access to the server via remote netboot rescue mode.

There is how I restored the raid:

sfdisk -d /dev/sdb | sfdisk /dev/sda

mdadm --add /dev/md127 /dev/sda2

I hope you can help me fix the server so it can boot successfully.

I'll give you ssh access to the server via netboot rescue. There is no sensitive or important information on the server.

I want you to fix the server, and then we'll check if it works by booting from the hard drive.

If everything is good, I need a complete list of commands you execute so I can reproduce the fix myself.

Навыки: Linux, Системное администрирование, Ubuntu

О клиенте:
( 12 отзыв(-а, -ов) ) Kiev, Ukraine

ID проекта: #34295984


(354 отзывов(-а))

5 фрилансеров(-а) готовы выполнить эту работу в среднем за $144

(512 отзывов(-а))

I have done similar work in the past. As per my skills, I am the right one for this project and I will provide you with much better service and timely support.

$350 USD за 3 дней(-я)
(23 отзывов(-а))

Hello, My name Is Arif, I am Linux, Unix, And Windows Server Expert, I have my 4 Years Experience, I will Fix or Setup Your Server Within 1 Hour, Chat me, I will instant Reply

$50 USD за 1 день
(4 отзывов(-а))

I am a Linux admin have 7 years of experience in this field. I worked in webhosting industry and manage datacenter from remote. I give full server management support. I have versatile experience in setting-up and manag Больше

$120 USD за 1 день
(2 отзывов(-а))