Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Windows Server 2008 R2 : Work with RAID Volumes - Understand RAID Levels & Implement RAID

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
6/29/2011 11:31:49 AM
A Redundant Array of Independent Disks (RAID) is a special type of volume providing you with redundancy on your drives or volumes. RAID is designed to provide you with protection from failures of the drives on your sever. RAID does not replace the need to perform regular backups of your systems; it offers an additional level of protection to your system and is designed to work in conjunction with regular backups. In most cases, RAID will tolerate a loss of one hard drive, meaning you will not lose any data; however, the performance of the RAID volume is reduced until you replace the failed drive. RAID is designed to not only help protect your data but also to help improve the performance of the overall drive system. RAID can be implemented either via hardware or software. You will now see how Windows Server 2008 R2 implements RAID at the software level.

1. Understand RAID Levels

Essentially, RAID volumes (commonly called arrays) create duplicates of the data and spread the data over the drives in the volume. In the case of a RAID mirror, the data is completely duplicated in a one-to-one fashion across two drives. However, in other versions of RAID, a concept called a parity bit is introduced. One of the keys to understanding how RAID works is knowing how the parity bit works. The parity bit is the copy of the data; however, the parity is spread evenly across the drives.

When you begin to work with RAID, it is important to know what the implications are for the chosen level of RAID for your server. Windows Server 2008 R2 supports only RAID 0, RAID 1, and RAID 5 at the software level. Several of the more common RAID levels are listed in Table 1.

Table 1. RAID Levels
RAID LevelDescription
RAID 0RAID 0 is commonly known as striping. This is the only level of RAID that does not provide you any protection from a failed volume. That means if you lose one drive, you will lose all of the data across your volumes. Striping is designed to provide improved drive performance.
RAID 1RAID 1 is commonly known as mirroring. RAID 1 uses only two drives, and as you write to one drive, a duplicate copy is written to the second drive at the same time. If you lose one drive in the mirror, the second drive contains the backup, and you will not lose any data unless you lose the second drive. This is also the slowest version of RAID.
RAID 5RAID 5, commonly known as striping with parity, is a combination of performance and redundancy. RAID 5 requires three (or more) drives or volumes and provides protection if one of the drives fails. RAID 5 spreads the data and the parity (copy of the data) evenly across all three drives. If a RAID 5 volume loses a drive, the overall performance of the drive will be reduced until you replace the drive. Additionally, RAID 5 may cause a performance impact for your memory and I/O. This will occur with all writes, since the parity bit must be calculated and then written.
RAID 6RAID 6 is commonly known as striping with dual parity. It is nearly identical to RAID 5, but it creates an additional copy of the parity information. This provides you with the additional ability to lose up to two drives without losing your data.
RAID 10RAID 10, sometimes referred to as RAID 1+0, is a combination of striping and mirroring. RAID 10 is essentially a striped mirror, which offers a nice hardware-level version of RAID with performance and mirroring.

Say, for example, you create a RAID 5 volume with three hard drives of 100GB each. Your total available hard drive space for the volume would be 200GB. The reduced space is because of the parity bit, which is the copy of the data. When your data is written to this volume, it will be spread evenly across the drives, and during the write, a parity bit will be written to help maintain the copy of the data in case a drive is lost.

Figure 1 shows an example of a RAID 5 volume. Additionally, if you look at Figure 2, you will see the drive and how it appears in My Computer. It is important to note the drive is only about 100GB even though three 50GB drives were used to create the volume.

Figure 1. RAID 5 volume

Figure 2. RAID 5 drive size

2. Implement RAID

The number of drives or volumes you have available to you will determine what level of RAID you can implement. In this section, you will see how to create a RAID 5 volume with three drives in the Windows Server 2008 R2 software. If you want to use a hardware solution to create RAID 5, please consult the manufacturer of your system.

2.1. Create a RAID 1 or Mirrored Volume

Creating a mirrored volume is similar to creating spanned and striped volumes. Additionally, like with striped volumes, the partitions on the mirrored disks will be the same size. Figure 3 shows an example of a mirrored volume.

  1. Open Server Manager by selecting Start => Administrative Tools => Server Manager.

  2. In the Server Manager tree, click Storage.

  3. In Storage, click Disk Management.

    Figure 3. Mirrored volume
  4. Right-click the unallocated space in the bottom window of the middle pane you want to create the volume on.

  5. Click New Mirrored Volume.

  6. On the Welcome screen, review the message, and click Next.

  7. On the Select Disks screen, select the disks you want to use for the mirrored volume, and click Add to place them in the selected option.

  8. Select the size you want to make the volume, and click Next.

  9. Select how you want mount the volume. You can choose to mount to a drive letter, to mount a folder on an existing drive, or to not assign any mount point. After you make your selection, click Next.

  10. Next, you can select how to format the drive. After you make your selection, click Next.

  11. Review the summary screen, and click Finish.

  12. You will see a warning dialog box if the drives need to be converted to dynamic drives for mirrored volumes. After you review the warning, click Yes.

2.2. Repair a Mirrored Volume

If you lose a hard drive in a mirror, the mirror has failed redundancy. You will need to replace the failed drive, remove the existing mirror, and then re-create the mirror.

  1. Open Server Manager by selecting Start => Administrative Tools => Server Manager.

  2. In the Server Manager tree, click Storage.

  3. In Storage, click Disk Management.

  4. Right-click the half of the mirror in the bottom window of the middle pane that is still working.

  5. Select Remove Mirror; you will a screen similar to Figure 4.

    Figure 4. Removing a mirror
  6. Select the drive that has failed on your server to remove the mirror from. When you remove the mirror for the drive, this will remove the mirror. Then you are ready to re-create the mirror.

  7. To re-create the mirror, right-click and select Add Mirror.

  8. In the Add Mirror dialog box, select the new volume you want to create the mirror on.

  9. You will see a warning dialog box if the drives need to be converted to dynamic drives for mirrored volumes. After you review the warning, click Yes.

  10. You will see the drive status of synching, and when the drive has completed the sync, you will see a status of Healthy.

2.3. Break a Mirror

You may choose to stop using an existing mirror. Maybe you want to choose a different RAID level or need to repurpose one of your disks for additional storage. You can at any time break your mirror. You do not need to worry about seven years' bad luck. Also, unlike when a real mirror breaks, you will not lose any data. In fact, you will have two copies of the data on two separate volumes.

  1. Open Server Manager by selecting Start => Administrative Tools => Server Manager.

  2. In the Server Manager tree, click Storage.

  3. In Storage, click Disk Management.

  4. Right-click one of the volumes in the bottom window of the middle pane in the mirror.

  5. Select Break Mirrored Volume.

  6. Review the warning about removing the fault tolerance from the drive. Remember, you will not lose data, just the redundancy of the mirror. Click Yes to break the mirror.

2.4. Create a RAID 5 or Striped Volume with Parity

After you have determined which volumes you are going to use for your RAID 5 volume, you will use Disk Management to create the RAID 5 volume:

  1. Open Server Manager by selecting Start => Administrative Tools => Server Manager.

  2. In the Server Manager tree, click Storage.

  3. In Storage, click Disk Management.

  4. Right-click the unallocated space in the bottom window of the middle pane you want to create the volume on.

  5. Click New RAID-5 Volume.

  6. On the Welcome screen, review the message, and click Next.

  7. On the Select Disks screen, select the disks you want to use for the RAID 5 volume, and click Add to place them in the selected option. Remember, you need at least three drives.

  8. Select the amount of space to allocate on each disk selected, and click Next.

  9. Select how you want mount the volume. You can choose to mount to a drive letter, to mount a folder on an existing drive, or to not assign any mount point. After you make your selection, click Next.

  10. Next, you can select how to format the drive. After you make your selection, click Next.

  11. Review the summary screen, and click Finish.

  12. You will see a warning dialog box if the drives need to be converted to dynamic drives for striped volumes. After you review the warning, click Yes.

2.5. Repair a RAID 5 Volume

If you lose a hard drive in a RAID 5 volume, you will need to repair the volume. When you are working with Disk Management and see a screen similar to Figure 5, with the words failed redundancy, one of your hard drives may have failed. To fix the RAID 5 volume, you need to replace the failed drive and then use Disk Management to repair the volume and reestablish redundancy.

  1. Open Server Manager by selecting Start => Administrative Tools => Server Manager.

  2. In the Server Manager tree, click Storage.

  3. In Storage, click Disk Management.

  4. Right-click one of the volumes, in the bottom window of the middle pane, in the existing RAID 5 set.

  5. Click Repair Volume.

  6. You will see a screen similar to Figure 6, asking you which volume you want to use to repair the RAID 5 volume. Select the new hard drive, and click OK.

    Figure 5. RAID 5 failure
    Figure 6. Repairing RAID 5
  7. You will see a warning dialog box if the drives need to be converted to dynamic drives for striped volumes. After you review the warning, click Yes.

  8. Your drives will begin the process of resynching. This process could take several minutes. During the resync process, you will see a screen similar to Figure 7.

Figure 7. Resynching RAID 5
Other -----------------
- Exchange Server 2010 : Perform Essential Public Folder Management (part 3) - Configure Client Connectivity
- Exchange Server 2010 : Perform Essential Public Folder Management (part 2) - Define Public Folder Permissions
- Exchange Server 2010 : Perform Essential Public Folder Management (part 1) - Manage Public Folder Content
- Microsoft Dynamics CRM 2011 : Using Microsoft Dynamics CRM for Outlook - Configuring Synchronization Filters
- Microsoft Dynamics CRM 2011 : Going Offline with Microsoft Dynamics CRM for Outlook
- Microsoft Dynamics CRM 2011 : Deleting Records in Microsoft Dynamics CRM for Outlook
- SharePoint 2010 : Securing a Web Application (part 2) - Managing Web Part Security & Self-Service Site Creation
- SharePoint 2010 : Securing a Web Application (part 1) - How Zones, Web Applications, and Security Work Together to Provide Secure Solutions
- BizTalk 2009 : WCF LOB Adapter SDK (part 6)
- BizTalk 2009 : WCF LOB Adapter SDK (part 5) - Implementing the Message Exchange Handlers
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server