If you add a disk to your DPM protected server, DPM might complain that there is not enough disk space allocated, and an error messsage something like “DPM Event ID: 3106 DPM is out of disk space for replica (ID: 58)”
You cannot adjust this by using GUI, -why MS has geyed out the option “modify disk allocation” I don’t know.
But we can fix it with Powershell and the tools provided from DPM cmdlets:
cd "C:\Program Files\Microsoft System Center 2022\DPM\DPM\bin"
#Show protectiongroups
$pg = Get-DPMProtectionGroup
for ($i=0;$i -le ($pg.Count-1);$i++) {
Write-Output ('[' + $i.ToString() +'] ' + $pg[$i].Name)
}
#Select protectiongroup [0]
$ds = Get-DPMDatasource -ProtectionGroup $pg[0]
for ($i=0;$i -le ($pg.Count-1);$i++) {
Write-Output ('[' + $i.ToString() +'] ' + $ds[$i].Name)
}
#select and Show the datasource selected, make sure it's the one you want to adjust
$d = $ds[13]
$d.Name
$d.ReplicaSize/1024/1024/1024
#edit the allocated disk, adjust the size to what you need for the server
Edit-DPMDiskAllocation -Datasource $d -ReplicaSize (1300*1024*1024*1024)
#start consistencycheck:
$cc = Start-DPMDatasourceConsistencyCheck -Datasource $d
Write-Output $cc.Status