NAME

Switch-DcsDvaRaidPoolDisk

SYNOPSIS

Replace an existing physical disk with a new physical disk in the Capacity Optimization storage.

SYNTAX

Switch-DcsDvaRaidPoolDisk -Server<String> [-DvaPool<String>] -OldPhysicalDisk<String> -NewPhysicalDisk<String> [-Connection <String>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]

DESCRIPTION

Replace an existing physical disk with a new physical disk in the Capacity Optimization storage.

PARAMETERS

-Server<String>
Computer name or ID of the server. 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

-DvaPool<String>
The Id of the Dva Pool where the physical disk will be replaced.

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

-OldPhysicalDisk<String>
Disk name or ID of the physical disk to be removed.

Required: true
Position: named
Default value:
Accept pipeline input: false

-NewPhysicalDisk<String>
Disk name or ID of the physical disk to be added. The size of the new disk should be equal or greater than the disk to be replaced.

Required: true
Position: named
Default value:
Accept pipeline input: 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
 
-InformationAction <ActionPreference>


Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false
 
-InformationVariable <String>


Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false
 
-<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216)

INPUTS

OUTPUTS

DvaPoolDiskData : Object that identifies and describes the DvaPool Disks.

NOTES

EXAMPLES


-------------- Example 1 Replace a disk in RAID 5 of Capacity Optimization Pool --------------
Switch-DcsDvaRaidPoolDisk -Server SSVVM011-OldPhysicalDisk “Disk4” -NewPhysicalDisk “Disk7”
		

Replaces the disk Disk4 in the capacity optimization pool with disk Disk7.

DvaPoolId:b775b652-b244-44e0-9076-4cbd86814129
ServerId:39A178A9-E133-4574-BA23-D65426ADD5D2
DvaPoolDeviceId:01e71176-d8be-45ca-ba9a-9ea2adca521e
IsL2ARCDisk:False
IsSpecialMirrorDisk:False
DvaDiskResilveringStatus:None
Sequencenumber:258
Id:f5f249f4-0a0b-4c48-b949-7f6a753f2001
Caption:
ExtendedCaption:
Internal:False