Hyper-V virtuaalse ketta toimingud: Kompaktne, Teisenda, Laienda, ja kahaneb – Juhend ja nõuanded.
Kompaktne
1. Käivitage oma Hyper-V haldur ja klõpsake edasi Redigeeri ketast;
2. Klõpsake Edasi;
3. Kliki Sirvige to select your disk for operations;
4. After Disk is selected click Edasi;
5. First option is Kompaktne (this is the simplest operation). Klõpsake Edasi;
6. At the next page click Edasi;
Teisenda
1. Võimalus Teisenda (change your Virtual Disk format, *.vhd or *.vhdx). Klõpsake Edasi;
2. Select the format and click Edasi;
3. Select the type of Virtual Disk.
MÄRGE: In enterprise is Best Practice – to use a Virtual Disk type Fixed size.
4. Make a choice and click Edasi;
5. Kliki Sirvige to select the final name and destination of Virtual Disk, ja klõpsake Salvesta;
7. If it’s ok – click Edasi;
8. Klõpsake Lõpetama to run this operation;
Laienda
1. Run Hyper-V Manager and click on Inspect Disk and select target Virtuaalne ketas to show information about it. Klõpsake nuppu Sulge nuppu;
2. We have 60 GB VHDX, Expand it. Click on Edit Disk in Hyper-V Manager; Klõpsake nuppu Edasi nuppu;
3. Klõpsake Sirvi button and select target Virtuaalne ketas;
4. After selecting click the Edasi nuppu;
5. Valige Laienda option and click the Edasi nuppu;
6. Enter the new size and click the Next button, I’m set to 80 GB. (You must have free space to do this);
7. Check the final information and click the Lõpetama nuppu;
8. Let’s Kontrollige ketast uuesti. As we see – it now 80 GB size.
9. Connect to VM, which Virtual Disk we Laienda. Login in (user must have Local Administrator Rights) and open This PC;
10. As we see it’s 60 GB (old size) but not 80 GB. Sulge This PC. Hiire parem nupp kliki Start nuppu ja valige Disk Management;
11. After the Disk Management console opens you will see Unallocated space on the Disk (20 GB);
12. Hiire parem nupp click on Disk “(C:)” and select Extend Volume;
13. Klõpsake nuppu Edasi nuppu;
14. It shows up space for extending. Klõpsake nuppu Edasi nuppu;
15. Klõpsake Lõpetama to apply changes;
16. As we see – The disk is extended to 80 GB, close the Disk Management konsool;
17. Ava "This PC uuesti. Hooray “Local Disk (C:)” now has an 80 GB size.
Shrink
1. Run Hyper-V Manager and make sure your Virtuaalne masin (VM) with target “Virtuaalne ketas is in an Väljas state. Close Hyper-V Manager;
2. Avatud Disk Management on the Hyper-V computer (local pc). Hiire parem nupp kliki Start nuppu ja valige Disk Management;
3. Pärast the Disk Management console opens, go to the upper menu. Klõpsake Tegevus ja siis Attach VHD;
4. Klõpsake Sirvige to select the target Virtuaalne ketas faili;
5. After selecting click the Okei nuppu;
6. We connected Virtuaalne ketas;
7. Hiire parem nupp click on the connected Disk and select Shrink Volume;
8. Enter the size in MB (Megabytes) to shrink from Disk. Klõpsake nuppu Shrink nuppu;
9. Täiuslik, shrinking is successful;
10. Hiire parem nupp klõpsake oma Virtuaalne ketas ja valige Detach VHD;
11. Klõpsake Okei and close the Disk Management konsool;
12. Run your Hyper-V Manager and click on Redigeeri ketast;
13. Klõpsake nuppu Edasi nuppu;
14. Klõpsake nuppu Sirvige button to select target Virtuaalne ketas;
15. After selecting Disk click the Edasi nuppu;
16. As you see we get a new option Shrink, select it and click the Edasi nuppu;
MÄRGE: Option “Shrink” is available if “Virtuaalne ketas” has “Unallocated” space.
17. Enter the new size and click the Lõpetama nuppu;
18. Inspect our Virtuaalne ketas uuesti, now it’s 41 GB;
19. In the system;