NAME

Split-DcsVirtualDisk

SYNOPSIS

Splits a multi-copy or dual virtual disk.

SYNTAX

Split-DcsVirtualDisk   -VirtualDisk <Object>   [ -UnserveServer <Object> ]   [ -Force]   [ -Yes]   [ -Connection <String> ]   [ -PipelineVariable <String> ]   [ -WhatIf]   [ -Confirm]

DESCRIPTION

Splits a multi-copy or dual virtual disk. When splitting a multi-copy virtual disk that is unserved , each server with a copy of the data will retain that copy as a single virtual disk. A dual virtual disk will become one single virtual disk on one server. To split a virtual disk that is served, use the parameter UnserveServer. To split a dual virtual disk or to split one storage source from a 3-Way Virtual Disks specify the server by using the parameter UnserveServer. See UnserveServer for more information.

PARAMETERS

-VirtualDisk<Object>
VirtualDiskData object, name, or ID that identifies the virtual disk to split.

Required: true
Position: named
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-UnserveServer<Object>
ServerHostData object or ID that identifies the server to unserve. Use this parameter to split without unserving a virtual disk or to split a dual virtual disk. If specified, all front-end paths from this server to a client host will be removed. In the case of a dual virtual disk, the specified server will be removed as a storage source of the virtual disk. In the case of a 3-Way Virtual Disks, the specified server will be split to create a single virtual disk, and a mirrored virtual disk is left from the remaining storage sources.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-Force<SwitchParameter>
Use this parameter to force the operation to be performed in the case of 3-Way Virtual Disks, when one of the active storage sources is being split and the inactive storage source is failed or is determined to be not up-to-date by the software. For example, this could occur when the the virtual disk is failed or in recovery. Forcing this operation can cause a full recovery.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-Yes<SwitchParameter>
Forcing the split operation when the state of the data on the inactive storage source is unknown or not up-to-date and the operation can result in full recovery requires confirmation. Specify this parameter to confirm your intention and prevent user interaction during scripted scenarios.

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 the virtual disk to be split.

OUTPUTS

VirtualDiskData : Object that identifies and describes the virtual disk created by the split operation.

NOTES

Also see Get-DcsVirtualDisk, Add-VirtualDiskMirror.

EXAMPLES


-------------- Example 1 Splits a virtual disk identified by name (caption) --------------
Split-DcsVirtualDisk -VirtualDisk "Virtual disk 1 from Local Group"
		

The mirrored virtual disk named "Virtual disk 1 from Local Group" is split.

VirtualDiskGroupId:
FirstHostId:C553D471-3527-47EC-9326-D53E04204F2B
SecondHostId:
BackupHostId:
StorageProfileId:100469DF-0BE1-40DA-874E-9F1DA5A259E3
Alias:Virtual disk 1 (Second)
Description:
Size:50.00 GiB
Type:NonMirrored
DiskStatus:Online
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:d6aa8ebde16f4819a4af062b0b9512fa
Caption:Virtual disk 1 (Second)
ExtendedCaption:Virtual disk 1 (Second) from Local Group
Internal:False
   

-------------- Example 2 Splits virtual disks by piping objects --------------
$SplitVD = Get-DcsVirtualDisk -ServerGroup "Local Group" -Kind Standard
$SplitVD | Split-DcsVirtualDisk
		

In this example, assume that only mirrored virtual disk exist in the server group and meet the requirements for the split operation. The cmdlet Get-DcsVirtualDisk is invoked to obtain objects for all standard type virtual disks in the server group named "Local Group" and store them in the variable $SplitVD. The variable $SplitVD is piped to Split-DcsVirtualDisk resulting in those virtual disks being split.

VirtualDiskGroupId:
FirstHostId:C553D471-3527-47EC-9326-D53E04204F2B
SecondHostId:
BackupHostId:
StorageProfileId:100469DF-0BE1-40DA-874E-9F1DA5A259E3
Alias:Virtual disk 3 (Second)
Description:
Size:50.00 GiB
Type:NonMirrored
DiskStatus:Online
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:4e79b97c6ecf4baab130873b16e83649
Caption:Virtual disk 3 (Second)
ExtendedCaption:Virtual disk 3 (Second) from Local Group
Internal:False
   
VirtualDiskGroupId:
FirstHostId:C553D471-3527-47EC-9326-D53E04204F2B
SecondHostId:
BackupHostId:
StorageProfileId:100469DF-0BE1-40DA-874E-9F1DA5A259E3
Alias:Virtual disk 1 (Second)
Description:
Size:50.00 GiB
Type:NonMirrored
DiskStatus:Online
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:fa1fcfe1198c416fa0f5713368904231
Caption:Virtual disk 1 (Second)
ExtendedCaption:Virtual disk 1 (Second) from Local Group
Internal:False
   
VirtualDiskGroupId:
FirstHostId:C553D471-3527-47EC-9326-D53E04204F2B
SecondHostId:
BackupHostId:
StorageProfileId:100469DF-0BE1-40DA-874E-9F1DA5A259E3
Alias:Virtual disk 2 (Second)
Description:
Size:50.00 GiB
Type:NonMirrored
DiskStatus:Online
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:0f1680d87cff473da737aead48b6ed6e
Caption:Virtual disk 2 (Second)
ExtendedCaption:Virtual disk 2 (Second) from Local Group
Internal:False
   

-------------- Example 3 Splits a virtual disk that is served. --------------
$Svr = Get-DcsServer -Server SSV2
Split-DcsVirtualDisk -VirtualDisk "Virtual disk 1" -UnserveServer $Svr
		

The cmdlet Get-DcsServer is invoked to return the ServerHostData object for server "SSV2" and save it to the variable $Svr. The cmdlet Split-DcsVirtualDisk is invoked to split the virtual disk "Virtual disk 1" and the variable $Svr is used to pass the object for server SSV2. This results in two single virtual disks, one on each server. The single virtual disk on server SSV2 will be unserved.

VirtualDiskGroupId:
FirstHostId:8CE05A9F-D367-4BDE-BCE6-67909F6F7F6A
SecondHostId:
BackupHostId:
StorageProfileId:100469DF-0BE1-40DA-874E-9F1DA5A259E3
Alias:Virtual disk 1 (Second)
Description:
Size:30.00 GiB
Type:NonMirrored
DiskStatus:Online
InquiryData:DataCore Virtual Disk DCS
ScsiDeviceId:{96, 3, 13, 144...}
ScsiDeviceIdString:60030D9082DF42069B9F0E63E185D7AF
RemovableMedia:False
WriteThrough:False
Offline:False
Disabled:False
DiskLayout:DataCore.Executive.PhysicalDiskLayout
PersistentReserveEnabled:True
RecoveryPriority:Low
IsServed:False
Sequencenumber:8608
Id:7fea38e4c221401497bb1e4756e3e7e6
Caption:Virtual disk 1 (Second)
ExtendedCaption:Virtual disk 1 (Second) from Group FTL
Internal:False
   

-------------- Example 4 Splits a dual virtual disk identified by name --------------
Split-DcsVirtualDisk -VirtualDisk "Virtual disk 2" -UnserveServer SSV1
		

In this cmdlet, the dual virtual disk named "Virtual disk 2" is split. The parameter UnservServer is used to designate the server that is removed from the dual virtual disk configuration. Removing server "SSV1" results in one single virtual disk owned by server "SSV2". The virtual disk remains served to the client host. In this case, since splitting a dual virtual disk does not create a new virtual disk, the VirtualDisksData object is not returned.