Internet Windows Android

RAID1 - Create mirrored disks via BIOS. Windows Server

There are situations when a hard drive fails (due to voltage problems, physical wear, and so on) and it turns out that over the years the accumulated information is irretrievably lost (you can contact data recovery specialists, but as a rule it costs a lot of money and not the fact that the information can be restored) and therefore, in order to save myself from such fears, I decided to set up a RAID1 mirror backup system, which I will tell you about in this video tutorial.

In general, I will devote 2 lessons to this topic, in this we will consider setting up RAID1 via BIOS, and in the next setting RAID1 using Windows 7 software.

And so, what is RAID in general, the abbreviation itself stands for an independent array of inexpensive disks and in general there are quite a few types of RAIDs, these are RAID 0,1,5,10, but in this video we will analyze the most common RAID1 or mirrored RAID.

What is the essence of RAID1, let's say you have 2 identical hard disks, they are combined into RAID1, and the operating system sees these two disks as one physical, and when you write any information to this disk, it is duplicated on both disks, it turns out as would be mirroring information on both drives.

And in case of failure of one of them, all information is saved on the second disk and by replacing the failed disk with a similar one, the mirror backup system is restored.

I would like to say right away that setting through the BIOS is more reliable, but also more complicated and is, perhaps, suitable for setting up on backup servers, at home it will be enough to set up the mirrors programmatically.

Well, now let's move on to the direct configuration of RAID1 through the BIOS, since it will not work to record this video from the screen, the setting does not go through Windows, then some screenshots will be of poor quality, but the point is not in the quality but in the usefulness of this information.

First, we go into the BIOS, for me it looks like this. The setting may be different for different motherboard models, but the principle is the same. We need to find the configuration menu for SATA or IDE devices, I have this menu in the additional \ SATA Configuration \ Here in the SATA menu, select RAID, save the changes and exit the BIOS.

The computer restarts and at startup, before attempting to boot the operating system, a message appears, I have this Press Ctrl + I to enter the RAID configuration utility, run the utility.

This window displays the following information

The presence of a RAID - since I have not created it yet, therefore the inscription is not defined here, i.e. No RAID

The serial number of the device, I have 2

Hard disk model (it is advisable to use disks of the same manufacturer and the same brand so that they are absolutely identical)

The volume of each disk (the volume must be the same on both disks, otherwise it will not work to create a mirrored RAID)

And the status, since the RAID has not yet been created, then the status is not in the RAID array

In addition to the status table, there is also a menu, which consists of the following items:

Creating a RAID array

Removing a RAID array

Resetting all disks to a non-RAID state (if there are several RAIDs, then all RAIDs will be deleted)

At this stage, I did not use the following other points, so I cannot say anything about them.

We enter the name of the RAID, I will call it Mirror, which means mirror, then in the device manager it is under this name that this disk drive will be displayed.

Now in the information about RAID arrays there is a RAID named Mirror, RAID1 type, with a volume of 931.5 GB, the status is normal and it can be bootable.

If you want to have an operating system on it, then install the OS on it. Moreover, when I experimented, my operating system was on another disk, and after creating a mirrored RAID array, the operating system stopped loading. Those. when loading, a blue screen dropped out, so if you have an OS on another disk, you should first create a RAID, and then install the OS so that all the drivers are installed correctly!

After starting the OS, go to the device manager \ Disk drives and see the Mirror storage device there, i.e. this is the RAID1 mirrored disk.

After disconnecting one of the disks, the following message appears at startup with the RAID status Degraded (i.e. one of the disks is missing in the RAID), but regardless of this, the operating system continues to boot.

Now I have booted from a faulty RAID, this can be seen using a special program that comes with the drivers on the motherboard.

Now I reconnect the disk and the RAID state goes into Rebuild (reconstruction, in this state, data from the mirrored disk is copied to the connected disk in order to restore the RAID functionality, depending on the disk size, this process can take a long time)

We load the OS and again look through the program what happens to the RAID, everything is OK, the RAID is restored, and the reconstruction is performed with the installed disk. After completing this process, everything will work as before.

Again, before experimenting with RAID, it's best to save important information to another medium, just in case!

As for the advantages and disadvantages of this system:

The cost of 1 GB is 2 times higher (since you will need to purchase 2 disks to store the same amount of information)

High fault tolerance (although, there are such failures in which all the hardware burns out, but there is no way to protect yourself, except perhaps to store a copy of documents on a dedicated server) But, again, if the system is implemented on a backup server, then if everything burns out, then, in any case, copies of documents should remain on workstations, well, unless all the computers in office J have burned out

Hardware RAID (software RAID is created using a program, and no program is protected from glitches, therefore RAID through BIOS is more reliable)

Setting up a software RAID array in Windows is a much easier task than in Linux systems, but it also has its own peculiarities. Often, incomplete and fragmentary knowledge in this area leads to difficulties, and among administrators there are myths and legends about the "capriciousness" and "glitchiness" of this mechanism in Windows. In this article, we will try to fill this gap.
Before continuing, let us again recall the basic principle of building hardware arrays: one array element - one physical disk. The basis of software arrays is a logical disk. Understanding this difference is the key to success, what is applicable to the hardware array can be disastrous for the software, especially when it comes to the failure of one of the array elements.

To create software RAID in a Windows environment, we need to get acquainted with the concept of a dynamic disk, since software arrays can only be created on them. The reputation of dynamic disks is ambiguous, many administrators shy away from them like hell with incense. And in vain, remembering a few simple rules, working with dynamic disks becomes as simple as with ordinary ones.

As a general rule, installing or booting Windows from a dynamic volume is only possible if this disk has been converted from a system or boot volume. Those. if you have several copies of the OS, then after converting the disk to dynamic, you can only boot the instance that is on the boot partition.

Based on this rule, it becomes obvious that only a mirrored array (RAID1) can be created for the boot and system volumes, the creation of other types of arrays is impossible, since they imply the installation of the system on a previously created partition.

Is it worth the candle? Despite all the limitations, it is worth it. The main disadvantage of hardware arrays is the binding to a specific controller model. If your motherboard or controller burns out, you will need exactly the same one (or a motherboard with a similar controller), otherwise you can say goodbye to data. In the case of software RAID, a machine with Windows Server installed is sufficient.

In practice, work with software arrays and dynamic disks is done through a snap-in Storage - Disk Management v Server Manager... To convert disks to dynamic, just right-click one of them and select Convert to dynamic disk, in the window that opens, you can select several disks to convert at once.

It is worth remembering that this operation is irreversible and special attention should be paid to the system partition, you will not be able to repartition the boot disk (or rather, it will cease to be bootable after that), the only thing you can do is expand the volume using unallocated space.

The next step is to create an array, right-click on the desired volume and select the desired option, in the case of system and boot volumes, there will be one option - a mirror, then you will be prompted to select a disk for placing the mirrored volume. Upon completion of the creation of the array, its resynchronization will immediately begin.

By connecting additional disks, we will get much wider possibilities, you can either combine several disks into a separate volume, or create RAID 0, 1 or 5.

In general, nothing complicated, but many restrictions can scare anyone away. But do not rush to make hasty conclusions, according to common sense there are no serious obstacles, since it is usually customary to distribute the system and data across different disks, given the penny cost of modern disks, this does not entail significant costs. For example, we created a mirror for the system disk and RAID5 for the data for our test server.

Moreover, all this pleasure can be realized on the most ordinary budget motherboard, given that the performance of a software array is no different from cheap hardware, this technology looks very attractive. We will talk about methods of ensuring fault tolerance and actions in case of disk failure in our next article.

Disk mirroring in Windows 8 and Windows 7

Hard disks are the main storage of information on a computer. But, unfortunately, they are not eternal. And it is very annoying one day to realize that the "accumulated back-breaking labor" suddenly disappears due to the failure of the disk. In some cases, data can be recovered. But usually only partially. And that is not always the case.

How to protect yourself from data loss on hard drives? There are several solutions to this problem.

The simplest is to periodically upload important data to external media: DVD / Blu-ray discs, flash drives, external hard drives. The option is generally quite reliable, but not entirely convenient: you need to remember and find time to back up the data, in addition, data from the last copy to the disk crash will still be lost.

In order not to mess with external media, you can install another HDD in your computer and periodically copy data to it. And even better if it was done automatically.

This kind of automation has been used for a long time and it has found its expression in the so-called RAID-arrays. These are arrays of hard drives combined in a special way. There are several types of RAID-s, the most popular of them are "RAID-0" - 2 disks are included in series for faster data reading and writing, and "RAID-1" - 2 disks are connected in parallel to simultaneously write data to both HDDs. If one of the disks fails, the other disk remains with a mirrored copy of the data, and the likelihood of failure of two disks at the same time is very small. RAID-1 is commonly referred to as "mirror", and parallel connection of multiple disks is called "mirroring".

To implement a disk array, a RAID controller must be installed in the computer. It can be built into the motherboard, or it can be installed separately.

My personal experience with motherboard RAID controllers is pretty bad. As a rule, manufacturers, to reduce the price of a product, use inexpensive controllers, the reliability of which leaves much to be desired. Good quality standalone controllers cost hundreds of dollars or more.

In this regard, so-called "software RAID-s" are gaining in popularity lately. parallel writing of data to 2 disks is performed not at the hardware level, but at the software level. A special program monitors all data write operations on a specific disk and writes the same data to another disk.

In the Windows 7 and Windows 8 operating systems, the developers built software RAID into the operating system itself, i.e. you can implement data mirroring using Windows tools.

I want to make a reservation right away that this functionality is not suitable for those who like to install several operating systems on one computer. Ultimately, only the OS that was used for mirroring will remain working. And if you do the wrong thing, then not a single working OS will be left. Later in the article I will pay attention to these points and tell you how to avoid such mistakes.

If your computer has only one operating system, you can safely use everything described below, your Windows is not in danger.

So, in order to see all the pitfalls of data mirroring by means of the OS, I use a computer with 2 installed operating systems - Windows 7 and Windows 8. At the same time, Windows 7 was installed first, and then, on another logical drive, Windows 8. We will perform the mirroring itself in Windows 8.

What is needed for this? You need to have 2 physical hard drives on your computer. It cannot be otherwise - copying the data from the disk to it itself makes no sense, since when the disk exits the erasure, we will lose both the data and its copy at the same time. The advantage of software RAID is that, unlike hardware RAID, it can be configured for individual logical disks, and not just for the entire physical disk as a whole.

To create a mirror, you need to go into disk management. To do this, go to the Control Panel and select "Administration".

Administration section in Control Panel

In Administration we find "Computer Management".

Administration tools

In the Computer Management window on the left, select "Disk Management".

Disk management

From the figure you can see that the computer has 2 physical disks - "Disk 0" and "Disk 1". We will create a mirror for the logical disk F (New volume) located on Disk 0. The volume of this partition is 10GB. We have a second HDD (Disk 1) with a capacity of 12GB, which we use as a mirror. The second disk must have unallocated free space that is at least as large as the mirrored disk. We have 12GB of unallocated space on Disk 1, i.e. there are no logical drives in this space.

Right-click on the desired section and select "Add mirror" in the context menu.

Adding a mirror

The system will prompt you to select a disk that will be used as a mirror.

Selecting a disk to create a mirror

Select the required disk from the list and click "Add mirrored volume". An interesting warning will appear here:

OS warning about the inability to start other versions of Windows

We are warned that the disks will be converted to dynamic ones, and if several operating systems are installed on the computer, then after this operation is completed, only the operating system that is currently running will remain operational. We will check this later. Click "Yes".

The process of creating a mirror will begin - if there is any data on the F drive, it will be copied to the mirrored drive.

Synchronizing disks when creating a mirror

After completing all the processes, we get the following picture.

The result of creating a disk mirror

As you can see, the system took space from the second disk, the volume of which is equal to the volume of the mirrored disk. The rest of the space on the second disk is left unallocated and you can use it at your own discretion, for example, create another logical disk there.

Let's check if we can now boot the second OS installed on the computer. Let me remind you that in my case Windows 7 and Windows 8 are installed, we performed all actions under Windows 8. Let's try to boot Windows 7.

We reboot the computer, we get the OS selection list.

Choosing the OS to boot

We choose Windows 7, the boot process begins and ... we get this.

Windows 7 boot error

Now more about the pitfalls that I mentioned at the beginning of the article. It was not for nothing that I made a reservation that Windows 8 was installed after Windows 7. What does this affect? The fact is that there can be only one OS bootloader on a computer. And the bootloader is always the bootloader of the last installed operating system - it overwrites the previous bootloader found on the disk. But at the same time, during the installation process, Windows, having found previously installed operating systems on the computer, configures its bootloader in such a way that it provides the user with a list of installed operating systems at startup. From this list, we choose which OS we want to run now. In my case, the boot loader Windows 8, which was installed last, starts and offers a list of found operating systems. Now let's imagine that I did not configure mirroring in Windows 8, but in Windows 7. In this case, Windows 8 would become inoperable. And together with it, its loader would have ceased to function and I would have lost the opportunity to run any OS on my computer at all - it has been verified by experience. The only solution to this problem is reinstalling Windows.

Thus, if several operating systems are installed on your computer, mirroring can be configured only in the last installed OS, while all other operating systems will automatically become inoperable and it will be impossible to bring them back to life- we will see it further .

I repeat once more if you have only one operating system, everything we talk about will not cause any harm to it or the computer as a whole.

So, the mirror is set up, now all data written to the disk will be automatically written to another disk. How can I check if it works?

Let's open the list of computer disks through Explorer.

Computer disks after mirror setup

In Explorer, we see the "New volume F" drive, its mirror is not here and should not be, since everything happens at a level invisible to the user. Let's try to write some data on the F disk. I'll just create a folder and a text file in it.

Folder and file on disk

If everything works correctly, the same folder and file should have been created on another disk - the mirror. To be convinced of this, we will "disassemble" the mirror.

Go to disk management again, right-click on any of the 2 mirror disks and select "Split mirrored volume".

Splitting a mirrored volume

Windows will warn us that after this action, the data storage reliability will no longer be at such a high level. We agree.

Windows warning when splitting a mirrored volume

As a result, we get two separate logical drives. The system immediately assigned the letter G. to the new disk (the former mirror).

Split mirror result

Now in the explorer, in addition to the F drive, we will also see the created drive G.

Computer disks after splitting the mirror

And on both previously mirrored disks, we will see the folder we created, and inside it the file.

Data mirroring result

We made sure that the mirror works and, if necessary, we can "disassemble" it without any data loss.

Will we be able to boot the second OS after splitting the mirror? Try it and get this again as a result.

Error loading the second computer OS

Thus, by setting up mirroring, you will forever lose the ability to run other installed Windows operating systems on your computer.

The downside to disk mirroring is volume loss - we use two disks as one. But information costs more than disks. If, nevertheless, you need additional disk space, the mirror can be divided, as shown above - in this case, we will get 2 disks with the same data, or simply delete one of the disks from the mirror - then we will get one disk with data and a second disk with an unpartitioned one. area.

To remove a disk from the mirror, in the Disk Management window, right-click on one of the mirrored disks and select "Remove Mirror".

Removing a disk from the mirror

Selecting a disk to remove from the mirror

Click "Remove Mirror" and get this picture.

Discs after removing the mirror

The disk from which the mirror was removed has returned to its original state - it is now not dynamic, but again basic, but Disk 0 has remained dynamic, which means that we will not start the second OS from it.

And one more subtlety is that if we remove the mirror from Disk 0, it will never become basic, but will remain dynamic.

The system disk remains dynamic after removing the mirror

Thus, by creating a mirror, we deprive ourselves of any chance of using the second OS on the computer.

But not so and often at home it is necessary to install several operating systems on one computer, but data backup is necessary for almost everyone. Therefore, this feature is very useful and I advise you to use it. All that is needed for this is Windows 7 or Windows 8 installed on the computer, as well as an additional hard drive of the required size.

Read about the Windows "Disk Space" feature. Namely, how to create a software Raid from several physical disks on your home PC yourself, including built-in or connected via USB using this function, and restore data from it.


The Disk Spaces function built into Windows 10 allows the user to create one virtual hard disk from several hard disks. With its help, you can back up data by duplicating it on multiple disks or combine several hard or SSD disks into a single storage pool. Disk Spaces is the same as RAID, only on a desktop computer and with hard drives attached to it.

Content:

Windows "Disk Space" feature

This feature first appeared in Windows 8 and has been enhanced in Windows 10. Storage Spaces is available in all versions of Windows 8 and 10, including Home.

To create Disk Space, at least two physical disks must be connected to the computer, including built-in or USB-connected.

Using the Storage Spaces function, you can create a storage pool of two or more physical disks by grouping them together. After creating a storage pool from two or more physical disks, you can create three resiliency spaces:

  • Simple type... Designed to create a disc of the largest possible volume. This type of space does not protect data in any way in the event of a possible failure or failure of one of the disks. On such a disk, Windows will save all data in one copy. If one of the physical disks fails, all data stored on it will be lost. This type of disk is convenient when you need to temporarily store large amounts of data.
  • Mirror space is designed to protect data in case of a possible failure of a physical disk, by saving multiple copies of files. In the event of failure of one of the physical disks of space, the data stored on it will remain available from the other disk on which their copy was created. This type is useful for protecting sensitive data in the event of possible hardware failures.
  • Even space Is a cross between a simple and a mirror type. Data is striped across multiple physical disks, creating one or two copies of the parity information. However, due to the need to calculate checksums, parity space is noticeably slower for writing, as a result of which they are recommended for storing data archives. For example, a photo or video.

How to create disk space

Create Disk space can be done using the corresponding menu in.

But before you start creating it, connect to the computer all hard drives from which you intend to create Disk space... Then select from the menu / Create new pool and disk space.


Select the disks you want to add to the pool and click the button "Create pool".

Please note that all disk data from which the disk space is created will be deleted.

After creating a pool, you need to set up a new disk space: assign a name to it and select a drive letter. It is with this name and letter that it will be displayed in Windows.

Also, you can choose the standard Windows file system - NTFS, or the new type of system ReFS. In the case of creating a mirrored or parity space, which are designed to protect data from loss, it is better to choose the type of ReFS system.


Indicate the type of resistance: Simple (no stability), Two way mirror, Three way mirror, Parity.

To create a large storage pool without disk failure protection, select the type Simple(no stability). A two-way mirror involves storing two copies of the data on disk, and Trilateral- three. Disk space with type Parity will protect in case of failure of one of the disks, and will be larger than a two- or three-way mirror, but will be much slower.

Depending on the selected resilience type, the wizard will set the maximum currently available disk space. However, you can also set a larger data pool size. This is intended for the case when the available space of the connected physical disks becomes full. So that the user can connect another disk without having to make changes to the disk space configuration.

Then press "Create Disk Space".

How to use Disk Spaces

The created disk space will appear as another disk in the folder "This Computer"... Such a disk will have the name and letter that you assigned to it during creation and will not visually differ from other disks.


You can do everything with this disc as with another regular disc. Even encrypt it with Bitlocker.


How to manage disk spaces

After creating disk space, you can go back to Control Panel to manage or customize it.


Another disk space can be created. Their number is limited only by the number of physical disks connected to the computer. You can add disks or rename the storage pool.

You can change the name or letter of the disk space by clicking the menu "Change" in subsection.


To add disks to an existing disk space, select Add Disks and select the disks you want to add. By choosing the Optimize Disk Usage menu, Windows will redistribute existing data evenly across all disks.


If the existing disk space consists of three or more physical disks, then one of them can be removed. To do this, expand the physical disks menu and select the link "Prepare for deletion" next to the drive you want to remove. In our case, there is no such link, since the disk space consists of two disks.

After that, the system will transfer the data from the removed disk to two (or more) other physical disks of the disk space. As a result, the link "Prepare for deletion" will change to "Delete".


The physical disk removed from the disk space will become available in Disk manager... To be able to work further, you may need to create a new section on it and format it.


In the management of disk spaces, the user also has access to the function of deleting the disk space itself (to the right of the disk space name, subsection). Just keep in mind that all data in the deleted disk space will be deleted.

In case of deleting disk space, the menu will become available "Delete pool", by selecting which you can completely remove the storage pool.


How to recover data from a disk space or mirrored volume

What to do in case of data loss from disk space? Is it possible to recover them?

In the event of failure of one or more disks of disk space, the process of recovering data from it becomes very complicated and cannot be reduced to scanning each disk separately with a data recovery program. In this case, the data will not be recovered or will be recovered damaged.

The only exception is mirrored disk space, which is created as RAID-1. Since in a disk space of this type, a copy of the data is created on each of the disks.


To do this, it is enough to scan the logical disk in the form of which the disk space is displayed using Hetman Partition Recovery. Then find and recover lost files or folders in the same way as from any other disk.


How to create a mirrored, striped, or spanned volume in Windows 7 or older

As mentioned at the beginning of this article, the Disk Spaces feature has appeared in Windows since version 8. But before that, the system also provided the ability to create disk spaces. You can create a mirrored, striped or spanned volume in Windows 7 or older using the Disk Management menu.

Because Disk management is present in Windows 8/10, so you can create disk space in the latest versions of the system in the same way.

To create disk space using Disk Management, you need two or more disks connected to the computer, which will not be allocated. If a partition will be created on the disk from which you plan to create a mirrored volume, delete it. To do this, right-click on it and select "Delete volume ..."... Note that this will erase all data from the disk.


After that, right-click again on the disk from which the disk space is supposed to be created, and, depending on the task at hand, select the type of volume to be created. They are somewhat similar to the types of disk space resiliency described in the first part of this article.


So, Simple volume Is a part of a physical disk that functions as a separate physical block. It is nothing more than a normal logical partition on a physical disk. It is not disk space, as we are talking about in this article.

Composite volume connects areas of free space of two or more physical hard drives into one logical drive. It consists of at least two unallocated parts on two hard disks, which are combined into one common when created. If you create a spanned volume that includes 150 GB from one hard drive and 250 GB from another hard drive, a 400 GB local drive appears in the This PC folder. The performance of a spanned volume is higher than that of a simple volume, and the fault tolerance is the same. Creating a spanned volume is suitable for solving the issue of local disk space.

Striped volume is a non-redundant array configuration. Information is split into blocks of data and written to multiple disks at the same time. Failure of any disk destroys the entire array. Since the array is not redundant, there is no recovery procedure in the event of a single physical disk failure. Reliability depends on the reliability of each drive. The array is not intended to provide reliable storage of data, but to improve performance.


Mirrored volume Is the same as the mirror space. It is designed to protect data in case of a possible failure of a physical disk, by saving multiple copies of files. In the event of failure of one of the physical disks of space, the data stored on it will remain available from the other disk on which their copy was created. This type is useful for protecting sensitive data in the event of possible hardware failures.


Volume RAID-5, as well as even space, a cross between a simple and a mirror type. Data is striped across multiple physical disks, creating one or two copies of the parity information. However, due to the need to calculate checksums, parity space is noticeably slower for writing, as a result of which they are recommended for storing data archives. For example, a photo or video. To create it, you need three or more disks.


I choose " Create mirrored volume ... " and in the resulting Image Wizard, click "Further".


Select the disk that you want to add before the mirrored volume (other than the one that was originally right-clicked) and click "Add" / "Further".


Assign a drive letter.


Give the volume a name and format it.


Before formatting begins, the system will warn you that it will convert the basic disks selected to create the mirrored volume to dynamic disks.


This will start formatting and converting the disks to a mirrored volume. In the Disk Management window, the disks of the mirrored volume will appear in brown, and in the This computer folder, as one of the local disks.


How to protect Windows from problems caused by damaged hard drive? For this, there is a backup mechanism, in particular, one with the automatic creation of incremental or differential backups to maintain the current state of the OS. But there is also an alternative solution - mirroring Windows system partitions, performed by its own standard means.

This is the creation of software RAID in configuration RAID 1 in order to preserve information and gain access to the OS environment in case of problems caused by problems with the hard disk that ensures its existence. What are the features of this mechanism, and how to implement it in the Windows environment - we will talk about all this in detail below.

1. Windows mirroring: what is it

Mirroring- this, as mentioned, is a software RAID 1 , a commonly used disk array configuration in which data is duplicated onto a second hard drive called a mirror. In case of problems with the first, primary hard drive, we can use the mirror to access our valuable information. Moreover, if mirroring is applied to Windows system partitions, if the main disk fails, we will not only gain access to the information stored in the system, we will even get inside it. Not inside its original, but inside its exact clone on the disk-mirror.

Implementation of software RAID 1 possible in the context of dynamic disk technology. This technology exists in the Windows environment, starting from the version 2000 ... The technology itself is applicable to both MBR- and to GPT-discs, but here's the creation of software RAID 1 complicated by the need to perform additional operations with the command line. So everything that will be proposed below applies only to MBR-discs. Creation of software RAID possible only in OS editions, starting with Pro.

When reinstalling the system on dynamic disks, you do not need to inject specific drivers into the distribution RAID-controller, as required by the hardware RAID... As well as there is no need to reinstall anything when using any of the configurations of the software RAID... However, in the conditions of working with dynamic disks, we will not be able to use more than one Windows. The OS installed on other partitions will simply not boot. Technology works by rule "Entry - one ruble, exit - two": the initial basic disks with structure and data are converted into a dynamic type easily and simply by Windows tools, but the opposite direction works only for disks with an unallocated area. If the structure and data are there, you will have to resort to third-party software.

Another important nuance: to work with this technology, it is important that the computer name contains only Latin characters. Otherwise, we will get an error "Invalid package name".

2. Preparatory stage

For Windows application RAID 1 a second hard disk with a capacity of at least the total volume of both system partitions must be connected to the computer. In our case, those occupy, respectively, 549 Mb and 60 GB, and the mirror disk has a volume with a small margin - 70 GB... The mirror must be prepared for its further fate - to delete all sections on it. There should be a clean unallocated area.

Information about booting installed on other Windows partitions, if any, is better to remove and leave the ability to start only the current system. When mirroring, the boot menu will be overwritten, and there will be a record of loading only one OS with the addition of the ability to run its clone on a mirrored disk. So it is important that there is a record of loading the required Windows. Otherwise, we get BSOD .

We will implement mirrored Windows using the system utility diskmgmt.msc, she's a console.

3. Convert disk to dynamic

On any of the two disks, call the context menu, select the conversion to dynamic type.

Check both of them. Click "OK".

Click and confirm the action.

4. Creating mirrors of system partitions

So, both disks - both the main and the mirror - are now dynamic. We call the context menu on a small technical section of the system (bootloader section) ... We choose.

Click on the mirror disk. We press.

Then we will see how a clone partition was formed on the mirror and the data synchronization process started.

Now we press the context menu on the main Windows partition, on the disk WITH ... And we do the same operation as above.

Now we have configured data synchronization with the mirror. We can dispose of the unallocated area remaining on the mirror disk in any way: leave it as it is, create a separate partition from it, attach the space to some other partition (and on any of the disks, because now we are working with their dynamic type) .

5. Mirror Windows

As soon as the data is synchronized with the mirror, and we find out about the completion of this process by the degree of load on the disk in the task manager, we can reboot and test the performance of the mirror Windows. Access to it, as mentioned, will appear in the bootloader menu, it will appear with the inscription "Windows such and such version is a secondary plex" ... The bootloader menu, by the way, in the last two versions of the OS can be configured right at the stage of starting the computer.

You can set a shorter time for Windows autoselection.

The system will boot first on the main disk, so you can choose the minimum 5 seconds to display boot options.

In older versions of Windows, the timeout for the bootloader menu is configured in the system utility "System configuration".

Mirror Windows is a complete clone of the main system. Here we can do everything the same as in the original environment. If anything happens to the main HDD or SSD, turn it off by hardware, start the computer and press F9 on the boot error screen OS.

6. Removing Windows mirrors

If you no longer need mirroring Windows, you can delete its mirror. This is done in the same place where this mirror was added - in the utility diskmgmt.msc... In turn, click on each of the system sections, in the context menu, click.

Select the mirror disk, press the delete button and confirm.

The space of the mirrored disk will turn into unallocated area, and its type is converted from dynamic to original base.

7. Reinstall Windows in a mirroring environment

Reinstalling Windows in the conditions of existence of mirrors of its partitions is carried out in the same way as usual - we can delete two of its partitions and specify an unallocated area with the OS installation location, or we can simply format its two existing partitions.

In any of these cases, when you reinstall Windows, its mirror will not go anywhere, it will continue to function in the new system. Program RAID 1 transferred to a new, reinstalled system environment. And everything would be fine if we mirrored regular user sections with our data. But the software RAID 1 for system partitions, remember, it also provides for the ability to enter Windows on a disk-mirror. And here we come across another Microsoft jamb: the record about loading the mirrored system will be lost - the very same bootloader menu item with an additional note "Secondary plex" ... After all, we formatted or deleted a small bootloader partition when installing the system. Leaving it as it is, not formatting it is even more dangerous. Let's remember that only one Windows can boot on dynamic disks. If the bootloader partition is not formatted, the new system will appear second in the boot menu and will not be able to start. Likewise, neither the first system nor its mirror will start, because the first one no longer exists, and its mirror is a clone of a non-existent Windows.

So the Windows boot partition when reinstalling it must be either formatted or deleted. How, then, do you ensure that you log into mirrored Windows? The solution here is very simple: you need to recreate the mirrors of the system partitions - delete them, as discussed in the previous paragraph, and reassign. The mirror disk is re-synchronized with the system partitions, and in the Windows bootloader menu, the mirror system item with an additional note will appear again "Secondary plex".