Set-DatasourceDiskAllocation

Set-DatasourceDiskAllocation

Modifies disk allocation for the protected data.

Syntax

Set-DatasourceDiskAllocation [-ProtectionGroup] <ProtectionGroup> [-Datasource] <Datasource> -ExpectedDataSizePerClientInMB <Long> [-ShadowCopyArea <Int64>] [<CommonParameters>]


Set-DatasourceDiskAllocation [-ProtectionGroup] <ProtectionGroup> [-AutoGrow] <Boolean> [<CommonParameters>]


Set-DatasourceDiskAllocation [-ProtectionGroup] <ProtectionGroup> [-Datasource] <Datasource> -Manual <SwitchParameter> [-PassThru <SwitchParameter>] [-ProductionServerJournalSize <Int64>] [-ReplicaArea <Int64>] [-ShadowCopyArea <Int64>] [<CommonParameters>]


Set-DatasourceDiskAllocation [-DestinationDiskPool] <Disk> [-MigrateDatasourceDataFromDPM] <SwitchParameter> [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> [<CommonParameters>]


Set-DatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> [-PassThru <SwitchParameter>] [<CommonParameters>]


Set-DatasourceDiskAllocation [-ProtectionGroup] <ProtectionGroup> [-DestinationReplicaVolume] <DpmServerVolume> [-MigrateDatasourceDataFromDPM] <SwitchParameter> [-DestinationShadowCopyVolume] <DpmServerVolume> [-Datasource] <Datasource> [-FormatVolumes <SwitchParameter>] [<CommonParameters>]


Set-DatasourceDiskAllocation [-Datasource] <Datasource> -CustomRequirements <SwitchParameter> [-ProtectionGroup] <ProtectionGroup> [-FormatVolumes <SwitchParameter>] [-PassThru <SwitchParameter>] [-ReplicaVolume <DpmServerVolume>] [-ShadowCopyVolume <DpmServerVolume>] [-USNJournalSize <Int64>] [<CommonParameters>]

Detailed Description

The Set-DatasourceDiskAllocation cmdlet modifies disk allocation for the protected data.

Using the -Manual parameter you can specify the amount of disk space to allot to each data source in a protection group.

Using the -CustomRequirements parameter you can specify the volumes to use for each data source in a protection group.

If you use neither parameter, DPM will assign the default disk space and volumes for the data source.

Parameters

-AutoGrow

Indicates whether the replica or recovery point volume size should be increased automatically when the user space threshold is exceeded.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

1

-ProtectionGroup

The name of a protection group.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

0

-DestinationDiskPool

Specifies the set of disks on which DPM will allocate volumes for migration of a data source. This parameter is migration specific.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

3

-DestinationReplicaVolume

Specifies the destination volume allocated by the user for migrating replicas of a data source. This parameter is migration specific.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

3

-MigrateDatasourceDataFromDPM

Indicates migration of the data source from the current volumes to a new set of volumes.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

2

-DestinationShadowCopyVolume

Specifies the destination volume allocated by the user for migrating shadow copies of a data source. This parameter is migration specific.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

4

-CustomRequirements

Allows you to specify replica and shadow copy volumes manually.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-Datasource

A Windows file system share or volume, Microsoft SQL Server database, Microsoft Exchange storage group, Microsoft SharePoint farm, Microsoft Virtual Machine, DPM database, or system state that is a member of a protection group.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

0

-ExpectedDataSizePerClientInMB

The expected size of data to be backed up from each client computer (in MB).

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

named

-Manual

Indicates that the settings will be applied manually.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-FormatVolumes

Indicates whether the allocated volumes should be formatted.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-PassThru

The -PassThru parameter can be used with many commands in DPM to return a related object in cases where there is no default output. Using the PassThru parameter allows such cmdlets to be part of a pipeline.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-ProductionServerJournalSize

The journal size of the protected server.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-ReplicaArea

Sets the disk allocation for the replica area for the current data source.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-ReplicaVolume

A replica volume is a volume on the DPM server that contains the replica of a protected data source.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-ShadowCopyArea

Sets the disk allocation for the shadow copy area for the current data source.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-ShadowCopyVolume

The volume on which the shadow copy is present.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-USNJournalSize

The USN journal size.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-CommonParameter

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

Notes

  • For more information, type "Get-Help Set-DatasourceDiskAllocation -detailed".
    For technical information, type "Get-Help Set-DatasourceDiskAllocation -full".

    Additionally, any updated information about the cmdlet will be available at http://go.microsoft.com/fwlink/?LinkId=95130.

Examples

EXAMPLE 1

 
          $pg = Get-ProtectionGroup -DPMServerName "TestingServer" 
          $mpg = Get-ModifiableProtectionGroup $pg 
          $ds = Get-Datasource -ProtectionGroup $mpg 
          Get-DatasourceDiskAllocation -Datasource $ds[1] 
          Set-DatasourceDiskAllocation -Datasource $ds[1] -ProtectionGroup $mpg 
          Set-ProtectionGroup $mpg 
        

This command sets the disk allocation the second data source in the data source list $ds.