NAME
Force-DcsVirtualDiskOnline
SYNOPSIS
Forces a logical disk of a mirrored virtual disk online in order to start mirror recovery.
SYNTAX
Force-DcsVirtualDiskOnline -VirtualDisk <Object> -Server <String> [ -Yes] [ -Connection <String> ] [ -PipelineVariable <String> ] [ -WhatIf] [ -Confirm]
DESCRIPTION
Forces a logical disk of a mirrored virtual disk online in order to start mirror recovery. This operation is only valid when the data status of both storage sources of a virtual disk are not defined, unknown, or double failure.WARNING: This operation involves risks and should be used with extreme caution. Recovering from the incorrect storage source will result in data loss.
PARAMETERS
- -VirtualDisk<Object>
- VirtualDiskData object, name, or ID that identifies the virtual disk.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: true (ByValue)
- Accept wildcard characters: false
-
- -Server<String>
- Computer name or ID of the server that will own the history log. The computer name must be unique or the name must be fully qualified.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Yes<SwitchParameter>
- Forcing a virtual disk online is an operation that requires confirmation. Specify this parameter to confirm your intention to force online and prevent user interaction during scripted scenarios. If this parameter is not specified, user interaction will be required.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Connection<String>
- Alias of the connection to the server group. If not specified, the default connection will be used.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -WhatIf<SwitchParameter>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Confirm<SwitchParameter>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
VirtualDiskData : Object that identifies and describes the virtual disk.
OUTPUTS
LogicalDiskData : Object the identifies and describes the logical disk.
NOTES
Also see Get-DcsVirtualDisk
EXAMPLES
Force-DcsVirtualDiskOnline -VirtualDisk "Virtual Disk 1" -Server SSV1 -Yes
Forces the virtual disk named "Virtual Disk 1" on the server named SSV1 to come online. The Yes parameter was included to eliminate the need to confirm the operation.
StreamDiskId | : | |
RetentionTime | : | 0 |
StreamSize | : | 0.00 B |
StreamState | : | NotPresent |
PoolId | : | F5381494-7319-4F56-8890-01705D0F5227:{8576dcad-eb64-11e0-81b0-00155d11e921} |
VolumeIndex | : | 5 |
MinQuota | : | 0.00 B |
MaxQuota | : | 0.00 B |
TierAffinity | : | {1, 2, 3} |
StorageName | : | |
InReclamation | : | False |
DataStatus | : | NotUpToDate |
PresenceStatus | : | Present |
Size | : | 1.00 PiB |
Description | : | |
DiskStatus | : | Online |
Virtualized | : | True |
ClientAccessRights | : | NoAccess |
Failure | : | Healthy |
VirtualDiskId | : | 3b535f138ef243e19f10095c73742f6f |
DiskRole | : | First |
ServerHostId | : | F5381494-7319-4F56-8890-01705D0F5227 |
IsMapped | : | True |
Protected | : | True |
Id | : | LD:F5381494-7319-4F56-8890-01705D0F5227_V.{8576dcad-eb64-11e0-81b0-00155d11e921}-00000005 |
Caption | : | Virtual disk 1 on SSV1 |
ExtendedCaption | : | Virtual disk 1 on SSV1 |
Internal | : | False |