How to Replace a RAID Controller without Losing Data - YouTube

Channel: Hetman Software: Data Recovery for Windows

[0]
Hello everybody!
[1]
Watch this video to find out how to replace a dead controller without losing data.
[6]
How to import an external configuration, replace the controller with a different model, and
[10]
how to extract information from disks of a RAID system when the controller is missing.
[41]
In a modern IT environment, there could be several reasons why system administrators
[60]
would like to change from one RAID controller to another.
[64]
With the growing amounts of data to process, sooner or later its becomes necessary to expand
[68]
the disk array, but often you cannot do it because of the old controller, and sometimes
[73]
controllers may just fail.
[75]
Whatever happens, there is one question to answer: can you migrate to a new device without
[80]
losing data?
[81]
Yes, you can, and there are at least two methods of migration: the difficult one, which requires
[87]
you to make a backup copy of data, bring the disks to the new controller, reconfigure the
[91]
array and recover data from the backup; and the simple one, where you just connect
[96]
the drives to the new controller and import the external configuration.
[100]
The second option involves a certain risk of data loss but lets you save a lot of time
[105]
instead.
[106]
Unfortunately, the varying methods used to store RAID configuration data make it impossible
[111]
to transfer data between storage system of different manufacturers without data loss.
[116]
The RAID configuration data is stored on the drives that make up the array.
[120]
Usually, this information is located in the first or last sectors of each drive and is
[125]
known as metadata.
[128]
This metadata is written to the drives by the RAID controller’s firmware when the
[132]
array is created.
[133]
This configuration is duplicated on each of the drives, and all the service data is absolutely
[139]
identical, except the drive number.
[142]
That is why, when the drives are connected to a different controller, it should identify
[147]
the old configuration and import it without losing data or reconfiguring partitions or
[151]
arrays.
[153]
RAID controller manufacturers use different approaches to storing this information.
[157]
Let’s move on and find out how to select a proper replacement for your old controller.
[162]
How to replace a RAID controller without losing data
[163]
The first thing to remember is this: if you make changes to a RAID configuration or replace
[168]
the adapter (or expansion) card, there is always a risk of data loss.
[173]
To secure yourself against losing data from the RAID system, perform full backup and check
[178]
it before you start the migration process.
[180]
To replace a dead controller, it’s better to choose a device of the same model; if that
[185]
is not possible or your model is outdated, you can choose a controller of the same brand
[190]
but with a newer configuration.
[192]
There should be no difficulties in replacing an expansion card with a device of the same
[196]
model: the only thing you may have to do is to update its firmware.
[200]
When replacing an older model with a new generation device from the same manufacturer, visit its
[205]
official website to make sure if the new card supports the configuration used with the old
[209]
one.
[210]
The manufacturer’s website should contain a list of interchangeable and supported devices.
[218]
https://www.dell.com/learn/us/en/04/campaigns/dell-raid-controllers?c=us&l=en&s=bsd I have a RAID 5 system consisting of three
[228]
drives and based on a Dell controller, model PERC H310.
[237]
For illustration, I’ll show you how to replace it with another device of the same manufacturer,
[249]
model H710.
[252]
There are several possible scenarios of how the storage system may behave after installation
[256]
of the new controller.
[258]
The first case is that the device imports the disk array automatically.
[263]
When booting, the system will display the notification that a foreign configuration
[267]
is found, and that you need to press a certain key to import it; in my case, that key is
[272]
F. After that, the controller will automatically identify and load the previous configuration,
[283]
and when the operating system has booted, you will find all the data just where it used
[287]
to be.
[291]
In the second scenario, you’re going to see a notification saying that the system
[295]
found a foreign configuration, but it failed to load it automatically, and you can configure
[300]
it by opening the controller BIOS.
[302]
Do it by pressing the key shortcut displayed on the screen (С key or Ctrl+R).
[311]
In the window that opens, select the upper line and press F2 for configuration, select
[316]
“Foreign Config” and press “Enter,” and in the submenu that opens select “Import”
[322]
to import an external configuration, or “Clear” to remove it.
[326]
Of course, we select “Import.”
[328]
It may take a few minutes before the configuration is processed, and after that the utility should
[333]
display a list of virtual drives that used to be configured for this system.
[342]
This is the end of the controller replacement procedure, and after you boot the operating
[346]
system you can make sure that no information is lost, and all files are still where they
[351]
should be.
[353]
Here’s an important piece of advice.
[357]
When connecting the drives to the new controller, make sure you connect them in the proper order.
[362]
Yes, some controllers can import the configuration regardless of the order in which the disks
[366]
are connected, but many don’t, so it is recommended to connect them in the same way
[372]
they were connected to the old controller.
[373]
If they were connected to the zero port of the old controller, with the new controller
[378]
they should be connected to the same port, otherwise an attempt to import will end in
[383]
failure and data will be lost.
[386]
Also, you may have to change the controller firmware to the version used with the old
[392]
controller, or update the firmware.
[393]
How to replace your RAID controller with a similar model from a different manufacturer
[394]
As I said earlier in this video, RAID controller manufacturers use different approaches to
[399]
storing service information on the drives.
[402]
So if you plan to replace the dead controller with a different model from another manufacturer,
[406]
there are a few things to keep in mind.
[409]
You need to know if new controller supports the general format of drive data (DDF), which
[414]
DDF version it supports, and what order is used to write bytes and store information
[420]
in the disk array.
[421]
DDF (Disk Data Format) is the structure of formatting data in drive groups within a RAID
[427]
system.
[428]
It provides a basic level of interaction between various RAID vendors.
[432]
The general DDF structure in RAID is very important because it ensures data migration
[437]
between storage systems from different manufacturers without losing data.
[441]
At the moment, it is available in two versions - 1.2 and 2.0.
[447]
Various controller models and brands may support the first version, the second version, or
[452]
both, so this is an important thing to find out when looking for a replacement.
[457]
Another feature to pay attention to is the order or sequence of writing bytes.
[462]
In computing, all information is represented in sequences of bytes.
[466]
If a certain figure cannot be represented as one byte, it really matters in which order
[471]
bytes will be written to the computer’s memory.
[473]
With the exception of mixed and inverted orders, there are two main ways to write bytes, Big
[479]
Endian and Little Endian.
[480]
The first one (Big Endian) will write bytes left to right (it looks like this: the figure
[486]
123 is written as 1,2,3).
[491]
The second order (Little Endian) will write bytes in an inverse order, and the same figure
[496]
123 will be written as 3,2,1.
[501]
You can see it in detail with the help of a Hex editor.
[506]
If the controller used to build a RAID system and write its data works with the first order
[513]
of writing bytes, and then you replace it with a controller using the second order,
[517]
you may have difficulties with importing the configuration.
[521]
The import operation will either fail or the controller will be unable to identify the
[525]
foreign configuration.
[527]
In the course of testing, we managed to import an external configuration with the following
[532]
Dell PERC controller models: H310, H330, H710, H830, so these devices can be replaced without
[544]
risking loss of data.
[545]
With RAID 5 based on Dell PERC H310, we managed to import the external configuration without
[552]
loss of data to various models of the same manufacturer.
[556]
As to third-party vendors, a controller Fujitsu D311 with LSI firmware detected the external
[563]
configuration on the drives and suggested to import it during the first boot.
[570]
After that, we opened the controller’s BIOS and saw that the previous configuration has
[574]
not changed, and after the operating system booted, all the files in the disk array remained
[585]
intact.
[589]
However, in the case with a similar controller on LSI firmware, IBM ServeRAID M5016, we failed
[600]
to import the external configuration, because the controller could not identify the configuration
[608]
properly.
[613]
When we tried to import a configuration from the controller Dell PERC H310 to the controller
[619]
Adaptec ASR 6805T, the second controller encountered an error, and importing the configuration
[626]
without losing data is impossible.
[629]
If we compare their features, we can see that the Adaptec device supports DF version 2.0
[636]
and has a different write order for bytes, which is most likely the main reason of failure
[641]
to import the configuration.
[643]
Controllers produced by HP have their own structure of building RAID systems and writing
[648]
data to the drives in the array.
[650]
That is why there are little chances of success if you try to replace an HP controller with
[655]
a controller of a different brand.
[658]
If the disk array is a bootable one, and you replaced its controller with a different model,
[662]
you may have to install an operating system driver for the new device, otherwise the whole
[667]
system may refuse to boot.
[669]
Also, you should take into account that not all RAID levels can be migrated to a different
[674]
controller model; this applies to multilevel arrays like RAID 10, 50, 60 which include
[680]
several groups of disks.
[682]
If you are trying to import an external configuration and encounter an error, this could be caused
[686]
by your RAID being a multilevel one.
[689]
How to recover data if the controller is dead If you failed to find a replacement for a
[692]
dead controller, but you still want to extract some important data from the drives, use a
[696]
specialized tool to recover data from RAID systems.
[700]
Hetman RAID Recovery can restore data from disks of a RAID system even if the controller
[705]
is missing.
[706]
The utility reads from the storage system all the information about the controller,
[710]
the motherboard, or the software used to create a disk array, and then rebuilds the damaged
[714]
RAID.
[715]
After that, you’ll be able to scan it and recover the critically needed information.
[721]
Conclusion The Drive Roaming feature or options to import
[726]
an external configuration can be found in almost all modern controllers.
[731]
That is why we may suppose that replacing one controller model with the other model
[734]
by the same manufacturer should not cause any problems.
[738]
If the device in question is pretty old, you should first check its compatibility by visiting
[742]
the manufacturer’s official webpage.
[744]
However, the best method be to transfer the information with the help of a backup copy
[749]
- in that case, the successful result is guaranteed.
[753]
That is all for now!
[755]
Hopefully, this video was useful.
[756]
Remember to click the Like button and subscribe to our channel.
[759]
Push the bell button to receive notifications and never miss new videos.
[762]
Leave comments to ask questions.
[764]
Thank you for watching.
[765]
Good luck.