-1

I have a system with 5 disk drives. One is the boot and system drive, the other 4 are in a raid configuration, I believe its called a Raid 0. Something seems to have happened to the boot drive as after booting it presents a blank screen. I can see the file systems contained on the raid from other systems, so the box itself does seem to be running.

My question is: If I attempt to re-load Ubuntu on the boot drive will it recognize the existing raid?

Edits: I believe the system to be Ubuntu 22.10. Perhaps I did not pose the question clearly - The (software) raid system disks themselves are intact and operational. If I attempt to re-load Ubuntu on the boot drive, will it automatically recognize the other four disks as a raid array, or is there something I can do to make it recognize the array without re-building it and starting from scratch. That is: how resilent are raid array over a system re-load. I did not mean for it to be an "opinion" question

Edit 2: Sorry, it is a Raid 10 configuration, not a Raid 0

Edit 3: I can not telnet, ssh, or RDP into the system. I do have the output of the mdadm commands configuration information. I hope that if I put a USB stick with the latest Ubuntu on it, and attempt to update the system that it should keep the Raid info and all will be fine. However if I am not so lucky and completely re-load the system, with the config info I have can I rebuild the Raid and NOT loose all the existing files on the disks

LarryM
  • 587

1 Answers1

0

After loading a fresh version of Ubuntu, the disks themselves "know" they were part of an array so the command:

sudo mdadm --assemble --scan --verbose /dev/md0 /dev/sdb /dev/sdc /dev/sdd /dev/sde

re-assembles the array with no apparent damage done, all files seem to be intact. Edit /etc/fstab to set the mount and all is fine.

LarryM
  • 587