Replace a disk region in the RAID-5 volume
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
To replace a disk region in the RAID-5 volume
If the disk containing part of the RAID-5 volume cannot be reactivated and the volume does not return to the Healthy status, you should replace the failed disk region in the RAID-5 volume.
Using the Windows interface
Using a command line
Using the Windows interface
Open Computer Management (Local).
In the console tree, click Computer Management (Local), click Storage, and then click Disk Management.
Right-click the portion of the RAID-5 volume on the failed disk, click Repair Volume, and then follow the instructions on your screen.
Notes
To perform this procedure on a local computer, you must be a member of the Backup Operators group or Administrators group on the local computer, or you must have been delegated the appropriate authority. To perform this procedure remotely, you must be a member of the Backup Operators group or Administrators group on the remote computer. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.
To open Computer Management, click Start, click Control Panel, double-click Administrative Tools, and then double-click Computer Management.
To replace a disk region in the RAID-5 volume, you must have a dynamic disk with unallocated space that is at least as large as the region to repair. If you do not have a dynamic disk with enough unallocated space, the Repair Volume command is unavailable. (To verify that you have enough space, right-click the disk, click Properties, and then check the size in Unallocated Space. This size may be slightly smaller than shown in the graphical and list views.)
When a member of a RAID-5 volume fails in a severe manner (such as a loss of power or a complete hard disk failure), computers running Windows Server 2003 operating systems can regenerate the data from the remaining members of the RAID-5 volume.
If the RAID-5 failure is due to a power or cabling failure on a single device, you can regenerate the data within the failed member of the RAID-5 volume once the hardware state is restored.
The RAID-5 volume will not display Healthy status in Disk Management until regeneration is complete.
You can only regenerate RAID-5 volumes with Failed Redundancy status. If the RAID-5 volume has Failed status, try to return it to Failed Redundancy status by using the Reactivate Disk command on the remaining disks.
Using a command line
Make sure that the physical disk is turned on, plugged in, and attached to the computer. If necessary, turn on or reattach the physical disk.
Open Command Prompt.
Type:
diskpart
At the DISKPART prompt, type:
list volume
Make note of the volume number of the RAID-5 volume with Failed Rd status.
At the DISKPART prompt, type:
list disk
Make note of the number of the dynamic disk you want to use to repair the RAID-5 volume.
At the DISKPART prompt, type:
select volume n
At the DISKPART prompt, type:
**repair disk=**N
Using the list volume command, you can check the status of the RAID-5 volume while it is being regenerated. During regeneration, the volume status is Rebuild, and after regeneration, the volume status is Healthy.
Value | Description |
---|---|
list volume |
Displays a list of basic and dynamic volumes on all disks. |
list disk |
Displays a list of disks and information about them, such as their size, amount of available free space, whether the disk is a basic or dynamic disk, and whether the disk uses the master boot record (MBR) or GUID partition table (GPT) partition style. The disk marked with an asterisk (*) has focus. |
select volume |
Selects the specified volume, where n is the volume number, and gives it focus. If no volume is specified, the select command lists the current volume with focus. You can specify the volume by number, drive letter, or mount point path. On a basic disk, selecting a volume also gives the corresponding partition focus. |
repair disk=N |
Repairs the RAID-5 volume with focus by replacing the failed RAID-5 member with the specified dynamic disk, N. The specified dynamic disk must have free space greater than or equal to the total size of the failed RAID-5 member. |
Notes
To perform this procedure on a local computer, you must be a member of the Backup Operators group, Administrators group, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.
To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.
To replace a disk region in the RAID-5 volume, you must have a dynamic disk with unallocated space that is at least as large as the region to repair. If you do not have a dynamic disk with enough unallocated space, the Repair Volume command is unavailable. (To verify that you have enough space, right-click the disk, click Properties, and then check the size in Unallocated Space. This size may be slightly smaller than shown in the graphical and list views.)
When a member of a RAID-5 volume fails in a severe manner (such as a loss of power or a complete hard disk failure), computers running Windows Server 2003 operating systems can regenerate the data from the remaining members of the RAID-5 volume.
If the RAID-5 failure is due to a power or cabling failure on a single device, you can regenerate the data within the failed member of the RAID-5 volume once the hardware state is restored.
The RAID-5 volume will not display Healthy status in Disk Management until regeneration is complete.
You can only regenerate RAID-5 volumes with Failed Redundancy status. If the RAID-5 volume has Failed status, try to return it to Failed Redundancy status by using the Reactivate Disk command on the remaining disks.
For more information about DiskPart, see Related Topics.
Information about functional differences
- Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.
See Also
Concepts
Reconnect the disk and repair the RAID-5 volume
Reactivate a RAID-5 disk
Manage RAID-5 Volumes