共用方式為


Reconnect the disk and repair the RAID-5 volume

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To reconnect the disk and repair the RAID-5 volume

A disk containing part of a RAID-5 volume has been disconnected. Try to reconnect and reactivate the disk.

  • Using the Windows interface

  • Using a command line

Using the Windows interface

  1. 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.

  2. Open Computer Management (Local).

  3. In the console tree, click Computer Management (Local), click Storage, and then click Disk Management.

  4. Right-click the Missing or Offline disk, and then click Reactivate Disk.

    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, see Replace a disk region in the RAID-5 volume

Important

  • Examine the system log to see if the disk or the disk controller is failing. If the failing disk is on a controller that is failing, installing a new disk on the failing controller will not solve the problem. For instructions describing how to open Event Viewer to examine the system log, see Related Topics.

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.

Using a command line

  1. 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.

  2. Open Command Prompt.

  3. Type:

    diskpart

  4. At the DISKPART prompt, type:

    list disk

    Make note of the disk number for the disk with Offline status.

  5. At the DISKPART prompt, type:

    select diskn

    Select the disk with Offline status.

  6. At the DISKPART prompt, type:

    online

Value Description

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 disk

Selects the specified disk, where n is the disk number, and gives it focus.

online

Brings an offline disk or volume with focus online.

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.

  • 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

Using the Event Viewer snap-in
Event Viewer overview
View an event log
Disk status descriptions
Volume status descriptions
Troubleshooting Disk Management
Working with MMC console files
DiskPart