Door deze site te gebruiken, u gaat akkoord met de Privacybeleid.
Accepteren
OndernemingOndernemingOnderneming
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
    • Azuur
    • Configmgr/sccm
    • DPM
    • Orkestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
Lezing: Hyper-V Virtual Disk Operations: Compact, Convert, Expand, and Shrink – How to Guide and Tips
Lettergrootte wijzigenAa
OndernemingOnderneming
Lettergrootte wijzigenAa
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
  • VENSTERS
  • SCCM-queryverzamelingslijst
Zoekopdracht
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
    • Azuur
    • Configmgr/sccm
    • DPM
    • Orkestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
Hyper-V

Hyper-V Virtual Disk Operations: Compact, Convert, Expand, and Shrink – How to Guide and Tips

Gepubliceerd: Februari 4, 2024
5 Min. gelezen
DEEL

Hyper-V Virtual Disk Operations: Compact, Convert, Expand, and Shrink – How to Guide and Tips.

Inhoud
CompactConvertExpandShrink

Compact

1. Run your Hyper-V Manager en klik op op Edit Disk;

2. Klik Volgende;

3. Klikken op Browse to select your disk for operations;

4. After Disk is selected click Volgende;

5. First option is Compact (this is the simplest operation). Klik Volgende;

6. At the next page click Volgende;

Convert

1. Option Convert (change your Virtual Disk format, *.vhd or *.vhdx). Klik Volgende;

2. Select the format and click Volgende;

3. Select the type of Virtual Disk.

OPMERKING: In enterprise is Best Practice – to use a Virtual Disk type Fixed size.

4. Make a choice and click Volgende;

5. Klikken op Browse to select the final name and destination of Virtual Disk, en klik Save;

7. If it’s ok – click Volgende;

8. Klik Finish to run this operation;

Expand

1. Run Hyper-V Manager and click on Inspect Disk and select target Virtual Disk to show information about it. Click the Dichtbij knop;

2. We have 60 GB VHDX, Expand it. Click on Edit Disk in Hyper-V Manager; Click the Volgende knop;

3. Klik the Browse button and select target Virtual Disk;

4. After selecting click the Volgende knop;

5. Selecteer Expand option and click the Volgende knop;

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 Finish knop;

8. Let’s Inspect Disk again. As we see – it now 80 GB size.

9. Connect to VM, which Virtual Disk we Expand. 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. Dichtbij This PC. Rechtermuisknop klik op the Start button and select Disk Management;

11. After the Disk Management console opens you will see Unallocated space on the Disk (20 GB);

12. Rechtermuisknop click on Disk “(C:)” and select Extend Volume;

13. Click the Volgende knop;

14. It shows up space for extending. Click the Volgende knop;

15. Klik Finish to apply changes;

16. As we see – The disk is extended to 80 GB, close the Disk Management troosten;

17. Open “This PC again. Hooray “Local Disk (C:)” now has an 80 GB size.

Shrink

1. Run Hyper-V Manager and make sure your Virtual Machine (VM) with target “Virtual Disk is in an Off state. Close Hyper-V Manager;

2. Open Disk Management on the Hyper-V computer (local pc). Rechtermuisknop klik op the Start button and select Disk Management;

3. After the Disk Management console opens, go to the upper menu. Klik Action and then Attach VHD;

4. Klik Browse to select the target Virtual Disk file;

5. After selecting click the OK knop;

6. We connected Virtual Disk;

7. Rechtermuisknop click on the connected Disk and select Shrink Volume;

8. Enter the size in MB (Megabytes) to shrink from Disk. Click the Shrink knop;

9. Perfect, shrinking is successful;

10. Rechtermuisknop click on your Virtual Disk and select Detach VHD;

11. Klik OK and close the Disk Management troosten;

12. Run your Hyper-V Manager and click on Edit Disk;

13. Click the Volgende knop;

14. Click the Browse button to select target Virtual Disk;

15. After selecting Disk click the Volgende knop;

16. As you see we get a new option Shrink, select it and click the Volgende knop;

OPMERKING: Option “Shrink” is available if “Virtual Disk” has “Unallocated” space.

17. Enter the new size and click the Finish knop;

18. Inspect our Virtual Disk again, now it’s 41 GB;

19. In the system;

GETAGD:Microsoft Hyper-VMicrosoft Windows-serverRamenRamen 10
Vorig artikel How to Install DNS Role on Windows Server 2016
Volgend artikel SQL Server SCCM install preparation VHD
Laat een reactie achter Laat een reactie achter

Laat een antwoord achter Antwoord annuleren

Uw e-mailadres wordt niet gepubliceerd. Verplichte velden zijn gemarkeerd *

Deze site gebruikt Akismet om spam te verminderen. Ontdek hoe uw reactiegegevens worden verwerkt.

Vertaling

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
door Transposh - Vertaalplugin voor Wordpress

Populaire berichten

Systeemvereisten voor Windows Server 2016
Windows-server
Configuration Manager Queryverzamelingslijst
Configuration Manager Queryverzamelingslijst
ConfiguratieMgr
Gestructureerde/beheerde navigatie ingeschakeld op moderne pagina's in klassieke teamsites
Technologie
SCCM Kan DP-locaties niet ophalen als de verwachte versie van MP
ConfiguratieMgr

Recente berichten

Fail2ban installeren en configureren voor SSH-bescherming op Ubuntu 24.04
Linux
FirewallD inschakelen en configureren op AlmaLinux
Linux
Gebruikers aanmaken en SSH-sleutel instellen in AlmaLinux
Linux
Hoe het wachtwoord op AlmaLinux opnieuw in te stellen
Linux

© 2023 Onderneming

Ga naar mobiele versie
Welkom terug!

Log in op uw account

Gebruikersnaam of e-mailadres
Wachtwoord

Wachtwoord vergeten?