The ability to support drive sets and arrays using Redundant Array of Independent Disks (RAID) technology is built into Windows Server 2022. RAID can be used to enhance data performance, or it can be used to provide fault tolerance to maintain data integrity in case of a hard disk failure. Windows Server 2022 supports three types of RAID technologies: RAID- 0, RAID- 1, and RAID- 5.
RAID- 0 (Disk Striping) Disk striping is using two or more volumes on independent disks created as a single striped set. There can be a maximum of 32 disks. In a striped set, data is divided into blocks that are distributed sequentially across all of the drives in the set. With RAID-0 disk striping, you get very fast read and write performance because multiple blocks of data can be accessed from multiple drives simultaneously. However, RAID- 0 does not offer the ability to maintain data integrity during a single disk failure. In other words, RAID- 0 is not fault tolerant; a single disk event will cause the entire striped set to be lost, and it will have to be re- created through some type of recovery process, such as a tape backup.
RAID- 1 (Disk Mirroring) Disk mirroring is two logical volumes on two separate identical disks created as a duplicate disk set. Data is written on two disks at the same time; that way, in the event of a disk failure, data integrity is maintained and available. Although this fault tolerance gives administrators data redundancy, it comes with a price because it diminishes the amount of available storage space by half. For example, if an administrator wants to create a 300 GB mirrored set, they would have to install two 300 GB hard drives into the server, thus doubling the cost for the same available space.
RAID- 5 Volume (Disk Striping with Parity) With a RAID- 5 volume, you have the ability to use a minimum of three disks and a maximum of 32 disks. RAID- 5 volumes allow data to be striped across all of the disks with an additional block of error- correction called parity. Parity is used to reconstruct the data in the event of a disk failure. RAID- 5 has slower write performance than the other RAID types because the OS must calculate the parity information for each stripe that is written, but the read
performance is equivalent to a stripe set, RAID- 0, because the parity information is not read. Like RAID- 1, RAID- 5 comes with additional cost considerations. For every RAID- 5 set, roughly an entire hard disk is consumed for storing the parity information.
For example, a minimum RAID- 5 set requires three hard disks, and if those disks are 300 GB each, approximately 600 GB of disk space is available to the OS and 300 GB is consumed by parity information, which equates to 33.3 percent of the available space. Similarly, in a five- disk RAID- 5 set of 300 GB disks, approximately 1,200 GB of disk space is available to the OS, which means that 20 percent of the total available space is consumed by the parity information. The words roughly and approximately are used when calculating disk space because a 300 GB disk will really be only about 279 GB of space. This is because vendors define a gigabyte as 1 billion bytes, but the OS defines it as 230 (1,073,741,824) bytes. Also, remember that file systems and volume managers have overhead as well.
Software RAID is a nice option for a small company, but hardware RAID is definitely a better option if the money is available.
Table 11.1 breaks down the various aspects of the supported RAID types in Window Server 2022.
TABLE 11.1 Supported RAID- level properties in Windows Server 2022
RAID Level | RAID Type | Fault Tolerant | Minimum Number of Advantages Disks | Maximum Number of Disks |
0 | Disk striping | No | Fast reads and writes 2 | 32 |
1 | Disk mirroring | Yes | Data redundancy and faster 2 writes than RAID- 5 | 2 |
5 | Disk striping with parity | Yes | Data redundancy with less 3 overhead and faster reads than RAID- 1 | 32 |
Creating RAID Sets
Now that you understand the concepts of RAID and how to use it, you can look at the creation of RAID sets in Windows Server 2022. The process of creating a RAID set is the same as the process for creating a simple or spanned volume set, except for the minimum disk requirements associated with each RAID type.
Creating a mirrored volume set is basically the same as creating a volume set except that you will select New Mirrored Volume. It is after the disk select wizard appears that you’ll begin to see the difference. Since a new mirrored volume is being created, the volume requires two disks.
During the disk select process, if only one disk is selected, the Next button will be unavailable because the disk minimum has not been met. Refer to Figure 11.4 to view the Select Disks page of the New Mirrored Volume Wizard during the creation of a new mirrored volume, and notice that the Next button is not available.
FIGURE 11.4 Select Disks page of the New Mirrored Volume Wizard
To complete the process, you must select a second disk by highlighting the appropriate disk and adding it to the volume set. Once the second disk has been added, the Next button is available to complete the mirrored volume set creation.
A drive letter will have to be assigned, and the volume will need to be formatted. The new mirrored volume set will appear in Disk Management. In Figure 11.5, notice that the capacity of the volume equals one disk even though two disks have been selected.
To create a RAID-5 volume set, you use the same process that you use to create a mirrored volume set. The only difference is that a RAID- 5 volume set requires that a minimum of three disks be selected to complete the volume creation. The process is simple: Select New RAID- 5 Volume, select the three disks that will be used in the volume set, assign a drive letter, and format the volume.
FIGURE 11.5 Newly created mirrored volume set
With the ever-i ncreasing demands of storage, mount points are used to surpass the limitation of 26 drive letters and to join two volumes into a folder on a separate physical disk drive. A mount point allows you to configure a volume to be accessed from a folder on another existing disk.
Through Disk Management, a mount point folder can be assigned to a drive instead of using a drive letter, and it can be used on basic or dynamic volumes that are formatted with NTFS. However, mount point folders can be created only on empty folders within a volume. Additionally, mount point folder paths cannot be modified; they can be removed only once they have been created. Exercise 11.5 shows the steps to create a mount point.
EXERCISE 11.5
Creating Mount Points
- Right-click the Start button and select Disk Management.
- Right- click the volume where the mount point folder will be assigned, and select Change Drive Letter And Paths.
- Click Add.
- Either type the path to an empty folder on an NTFS volume or click Browse to select or make a new folder for the mount point.
When you explore the drive, you’ll see the new folder created. Notice that the icon indicates that it is a mount point.