Hi,
nach einem P2V Port hatte ich 2 Partionen auf einer VHDX. Da ich die 1 Partion nicht vergrößern konnte habe
jetzt die 2. Partition umgezogen auf eine Seperate VHDX.
Jetzt ist nur die Frage wie bekomme ich bei einer Dyn. VHDX den Platz wieder frei.
Wenn ich die 2. Partition auf der 1. VHDX lösche und versuche mit
<textarea cols="10" name="code-18d918220d600c2a435a56b743f5da77" rows="1" style="border-bottom-color:currentColor;border-bottom-style:none;border-bottom-width:0px;border-image-outset:0;border-image-repeat:stretch;border-image-slice:100%;border-image-source:none;border-image-width:1;border-left-color:currentColor;border-left-style:none;border-left-width:0px;border-right-color:currentColor;border-right-style:none;border-right-width:0px;border-top-color:currentColor;border-top-style:none;border-top-width:0px;font-family:"roboto":;,sans-serif:;font-size:14px;height:0px;margin-bottom:0px;margin-margin-right:0px;margin-outline-color:invert;outline-style:none;outline-width:0px;padding-bottom:0px;padding-padding-right:0px;padding-vertical-align:baseline;width:0px;">PS
Get-VHD *.vhdx | where {$_.VhdType -eq "Dynamic"} | Optimize-VHD -mode full PS Resize-VHD -Path <shrink.vhdx> -SizeBytes 300GB </textarea>
01.
PS Get-VHD *.vhdx | where {$_.VhdType -eq "Dynamic"} | Optimize-VHD -mode full
02.
PS Resize-VHD -Path <shrink.vhdx> -SizeBytes 300GB
Zu verkleinern kommt:
<small style="border-bottom-color:currentColor;border-bottom-style:none;border-bottom-width:0px;border-image-outset:0;border-image-repeat:stretch;border-image-slice:100%;border-image-source:none;border-image-width:1;border-left-color:currentColor;border-left-style:none;border-left-width:0px;border-right-color:currentColor;border-right-style:none;border-right-width:0px;border-top-color:currentColor;border-top-style:none;border-top-width:0px;margin-bottom:0px;margin-margin-right:0px;margin-outline-color:invert;outline-style:none;outline-width:0px;padding-bottom:0px;padding-padding-right:0px;padding-vertical-align:baseline;">Zitat
:</small>
Resize-VHD : Fehler beim Ändern der Größe des virtuellen Datenträgers.
Fehler beim Anpassen der Größe von "c:\test_vhdx\shrink.vhdx".
Fehler beim Ändern der Größe des virtuellen Datenträgers.
Fehler beim Anpassen der Größe von "c:\test_vhdx\shrink.vhdx": Der angeforderte Größenänderungsvorgang konnte nicht
abgeschlossen werden, da andernfalls Benutzerdaten auf der virtuellen Festplatte möglicherweise abgeschnitten werden
würden. (0xC03A0025).
In Zeile:1 Zeichen:1
Resize-VHD -Path shrink.vhdx -SizeBytes 300GB
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : NotSpecified: ( [Resize-VHD], VirtualizationException
FullyQualifiedErrorId : OperationFailed,Microsoft.Vhd.PowerShell.Cmdlets.ResizeVhd
Habt ihr eine Idee?
Sind in Allen Partitionen(UEFI+C:\) nur insg. 80GB belegt.
Danke im Voraus