NAME
Add-DcsVirtualDiskMirror
SYNOPSIS
Adds a mirror to a virtual disk.
SYNTAX
Add-DcsVirtualDiskMirror [ -Server <String> ] -VirtualDisk <Object> -Pool <String> [ -EnableRedundancy] [ -SourceLogicalDisk <String> ] [ -Connection <String> ] [ -PipelineVariable <String> ]
Add-DcsVirtualDiskMirror [ -Server <String> ] -VirtualDisk <Object> [ -PassThroughDisk <String> ] [ -EnableRedundancy] [ -SourceLogicalDisk <String> ] [ -Connection <String> ] [ -PipelineVariable <String> ]
Add-DcsVirtualDiskMirror -VirtualDisk <Object> [ -EnableRedundancy] -LogicalDisk <String> [ -SourceLogicalDisk <String> ] [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Adds a mirror to a virtual disk. The storage source of the mirror to add can be a pool, pass-through disk, or an existing logical disk. A mirror may be added to a single or mirrored virtual disk.
PARAMETERS
- -Server<String>
- Computer name or ID of the server that will be adding a mirror to the virtual disk. The computer name must be unique or the name must be fully qualified.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -VirtualDisk<Object>
- VirtualDiskData object, name, or ID that identifies the single virtual disk.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: true (ByValue)
- Accept wildcard characters: false
-
- -Pool<String>
- Name or ID of the disk pool to use as the storage source of the mirror. To resolve by name, the name must be unique to the server group or the server must be specified.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -EnableRedundancy<SwitchParameter>
- Specify this parameter to create redundant mirror paths between servers. Redundant mirror paths provide two mirror paths going in each direction between servers. Redundant paths can be either iSCSI or Fibre Channel. Each server is required to have two FC or two iSCSI ports with the mirror role enabled (see Set-DcsServerPortProperties). Port paths are automatically selected.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -SourceLogicalDisk<String>
-
- 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
-
- -PassThroughDisk<String>
- The disk name or ID of the pass-through disk used as the storage source of the mirror. To resolve by name, the name must be unique to the server group or the server must be specified. Note: The data on the virtual disk will be copied to the pass-through disk.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -LogicalDisk<String>
- ID or caption of the logical disk used as the storage source of a single virtual disk. Information for the logical disk can be retrieved by invoking Get-DcsLogicalDisk.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
VirtualDiskData : Object that identifies and describes the virtual disk.
OUTPUTS
VirtualDiskData : Object that identifies and describes the virtual disk.
NOTES
Also see Split-DcsVirtualDisk, Set-DcsVirtualDiskProperties, Unlock-DcsPhysicalDisk.
EXAMPLES
Add-DcsVirtualDiskMirror -Server SSV2 -VirtualDisk VDisk1 -Pool SSV2Pool3 -EnableRedundancy -Connection SSV1Connect
Adds a mirror to the existing single virtual disk named "VDisk1". The mirror will be created from the pool named "SSV2Pool3" on the server named "SSV2". The connection to use is SSV1Connect.
VirtualDiskGroupId | : | |
FirstHostId | : | 74EDD1B3-6682-46A7-943C-2F0168CEC699 |
SecondHostId | : | FD622C7A-1065-4F2B-97E5-11813DA5AAF5 |
BackupHostId | : | |
StorageProfileId | : | 100469DF-0BE1-40DA-874E-9F1DA5A259E3 |
Alias | : | VDisk1 |
Description | : | |
Size | : | 100.00 GiB |
Type | : | MultiPathMirrored |
DiskStatus | : | FailedRedundancy |
InquiryData | : | DataCore Virtual Disk DCS |
ScsiDeviceId | : | {96, 3, 13, 144...} |
RemovableMedia | : | False |
WriteThrough | : | False |
Offline | : | False |
DiskLayout | : | DataCore.Executive.PhysicalDiskLayout |
PersistentReserveEnabled | : | True |
RecoveryPriority | : | Regular |
IsServed | : | False |
Id | : | 39ddeb4ad1c94197bd805c58a113a112 |
Caption | : | VDisk1 |
ExtendedCaption | : | VDisk1 from LOCAL |
Internal | : | False |