Score:-1

I would like to understand RAID 1 restore

nl flag

So, I have a situation here and I'd like to hear some tips about it.

I have a Windows Server 2012 R2 and I'm going to upgrade it to Windows 2019. The server has two HDD's in RAID 1.

To be on the safe side and have a quick solution in case of a problem, I will remove one of the Disks and install Windows 2019 on the left disk. If something goes well I place the second HDD and rebuild RAID 1. If everything goes wrong, I have the second HDD as a backup.

Edit: It is a hardware RAID.

So, my question is: How will RAID 1 be rebuilt in this case? Do I need to explicitly tell the RAID controller where from and where to mirror?

Thank you all.

cn flag
What local backups are you performing before the upgrade?
cicerosf avatar
nl flag
@GregAskew It does a full windows server backup.
Score:0
br flag

Such a method can work if you are short on hardware. However it should be treated as "dirty hack" and contain some risks and depend on hardware used.

First of all you should know RAID controller can be "soft" or "hard". If your server is built on workstation-like hardware you likely have soft one, also called host-RAID. Check device manager - Intel Matrix or Intel Rapid Storage are host-RAID controllers. This controller does actually nothing, driver and the operating system control all the RAID functionality.

Hardware RAID controller, in short, have non-volatile memory with data needed to "remember" drive configuration on each start. It also store data on the drive with some sort of parity, used to check what version of data the drive contain and what version of data each block contain.

If you will boot a server without one drive once, the other drive will contain older version stamp. So when you return it back controller will discard the information on that drive and array will need a rebuild. Rebuilding means that data from the drive in "actual" state is transferred to the drive in "non-actual" state. This operation starts automatically or manually depending on what situation controller finds out. Due to its nature and depending on drive size it can take several days to rebuild an array.

First you should prepare:

  1. Find out what is your RAID type and what utility is used to manage it.
  2. Ensure your RAID array is consistent. Every controller have an option to check consistency of data. It is a long operation and run in background comparing each data block on both drives.

The outcome of whole operation can be:

  1. If everything goes well and you have new OS installed you just put backup drive back and RAID controller (soft or hard) will run a rebuild task manually or automatically.
  2. If you need your backup you should start server without new-OS drive and here you can meet a problem. Some controllers store data version in NVRAM. Therefore it will reject to run on non-actual drive, so you will need to erase controller memory and import configuration from the backup drive. It likely will not happen on host-RAID, but likely will on hardware RAID.

After you used old-OS drive once you can safely add new-OS drive and run a rebuild.

cicerosf avatar
nl flag
Hi! I have edited my question and added it is a hardware RAID. I'm going to read your reply tomorrow and see if I have understood everything.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.