Hiper-V Virtual Disk Operations: Compact, Convert, Expandir, and Shrink – How to Guide and Tips.
Compact
1. Ejecute su Hiper-V Gerente y haga clic en Edit Disk;
2. Hacer clic Próximo;
3. Hacer clic en Browse to select your disk for operations;
4. After Disk is selected click Próximo;
5. First option is Compact (this is the simplest operation). Hacer clic Próximo;
6. At the next page click Próximo;
Convert
1. Option Convert (change your Virtual Disk format, *.vhd or *.vhdx). Hacer clic Próximo;
2. Select the format and click Próximo;
3. Select the type of Virtual Disk.
NOTA: In enterprise is Best Practice – to use a Virtual Disk type Fixed size.
4. Make a choice and click Próximo;
5. Hacer clic en Browse to select the final name and destination of Virtual Disk, y haga clic Ahorrar;
7. If it’s ok – click Próximo;
8. Hacer clic Finalizar to run this operation;
Expandir
1. Correr Hiper-V Manager and click on Inspect Disk and select target Disco virtual to show information about it. Haga clic en el Cerca botón;
2. We have 60 GB VHDX, Expand it. Click on Edit Disk in Hiper-V Gerente; Haga clic en el Próximo botón;
3. Hacer clic la exploración button and select target Disco virtual;
4. After selecting click the Próximo botón;
5. Seleccionar Expandir option and click the Próximo botón;
6. Enter the new size and click the Next button, I’m set to 80 ES. (You must have free space to do this);
7. Check the final information and click the Finalizar botón;
8. Let’s Inspect Disk de nuevo. As we see – it now 80 GB size.
9. Conéctate a máquina virtual, which Virtual Disk we Expandir. Login in (user must have Local Administrator Rights) and open This PC;
10. As we see it’s 60 ES (old size) but not 80 ES. Cerca This PC. Botón derecho del ratón hacer clic en el comienzo botón y seleccione Disk Management;
11. After the Disk Management console opens you will see Unallocated space on the Disk (20 ES);
12. Botón derecho del ratón click on Disk “(do:)” and select Extend Volume;
13. Haga clic en el Próximo botón;
14. It shows up space for extending. Haga clic en el Próximo botón;
15. Hacer clic Finalizar to apply changes;
16. As we see – The disk is extended to 80 ES, close the Disk Management consola;
17. Open “This PC de nuevo. Hooray “Local Disk (do:)” now has an 80 GB size.
Shrink
1. Correr Hiper-V Manager and make sure your Máquina virtual (máquina virtual) with target “Disco virtual is in an Off estado. Cerca Hiper-V Gerente;
2. Abierto Disk Management on the Hiper-V computer (local pc). Botón derecho del ratón hacer clic en el comienzo botón y seleccione Disk Management;
3. After the Disk Management console opens, go to the upper menu. Hacer clic Action y luego Attach VHD;
4. Hacer clic Browse to select the target Disco virtual archivo;
5. After selecting click the DE ACUERDO botón;
6. We connected Disco virtual;
7. Botón derecho del ratón click on the connected Disk and select Shrink Volume;
8. Enter the size in MB (Megabytes) to shrink from Disk. Haga clic en el Shrink botón;
9. Perfecto, shrinking is successful;
10. Botón derecho del ratón haz clic en tu Disco virtual and select Detach VHD;
11. Hacer clic DE ACUERDO and close the Disk Management consola;
12. Ejecute su Hiper-V Manager and click on Edit Disk;
13. Haga clic en el Próximo botón;
14. Haga clic en el Browse button to select target Disco virtual;
15. After selecting Disk click the Próximo botón;
16. As you see we get a new option Shrink, select it and click the Próximo botón;
NOTA: Option “Shrink” is available if “Disco virtual” has “Unallocated” space.
17. Enter the new size and click the Finalizar botón;
18. Inspect our Disco virtual de nuevo, now it’s 41 ES;
19. In the system;