Announcement

Collapse
No announcement yet.

Hyper-V guest disk size?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hyper-V guest disk size?

    I have a 2008 R2 Hyper-V server with one local disk that shows as 698GB on C:
    There are two guests. Both guests show XX of 698GB in their C: properties.

    How do I get these guests down to 100 GB of C: each?

  • #2
    Re: Hyper-V guest disk size?

    What you want to do, and therefore what you need to Google, is shrinking the vhd file.

    Gareth Howells

    BSc (Hons), MBCS, MCP, MCDST, ICCE

    Any advice is given in good faith and without warranty.

    Please give reputation points if somebody has helped you.

    "For by now I could have stretched out my hand and struck you and your people with a plague that would have wiped you off the Earth." (Exodus 9:15) - I could kill you with my thumb.

    "Everything that lives and moves will be food for you." (Genesis 9:3) - For every animal you don't eat, I'm going to eat three.

    Comment


    • #3
      Re: Hyper-V guest disk size?

      1) backup
      2) defrag
      3) modify partition size of the virtual machine
      4) use the vhdresizer tool.

      for option 3, the vm needs to be 2008.
      gerth

      MCITP sa, ea & va, [email protected]

      Comment


      • #4
        Re: Hyper-V guest disk size?

        When I inspect each disk in the Hyper-V MMC it says the disks are 78 GB.

        Why might there be a discrepancy?

        Can an existing VHD be told somehow "don't go bigger than 100GB" ?

        EDIT: both guests are Win7 x64.

        Comment


        • #5
          Re: Hyper-V guest disk size?

          A quick and dirty solution would be to go into the disk management of the win7 guest and shrink the partition size to 100
          gerth

          MCITP sa, ea & va, [email protected]

          Comment


          • #6
            Re: Hyper-V guest disk size?

            That sounded like a great idea to me! I went to disk manager and it'll only let me shrink it to around 450 GB.

            But "Local Disk C: Properties" says only 58.2 GB used so I don't know why disk manager won't let me crush it smaller?

            Comment

            Working...
            X