Online volume
Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2
Brings volumes that are currently offline to an online state
Important
This command is not available in any edition of Windows Vista.
Important
This command will fail if it is used on a read-only volume.
Syntax
online volume [noerr]
Parameters
Parameter | Description |
---|---|
noerr |
For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without this parameter, an error causes DiskPart to exit with an error code. |
Remarks
This command operates on volumes that have failed, are failing, or are in failed redundancy state.
A volume must be selected for this command to succeed. Use the select volume command to select a volume and shift the focus to it.
Examples
To bring the volume with focus online, type:
online volume