vmtoolkit.com
The source for virtual machine tools and expertise
Welcome to vmToolkit Sign in | Join | Help
in Search

disk size remains same as before running utility

Last post 12-05-2008, 5:29 PM by BWH. 17 replies.
Page 1 of 2 (18 items)   1 2 Next >
Sort Posts: Previous Next
  •  05-14-2008, 11:12 AM 515

    disk size remains same as before running utility

    I've run vhd resizer several times now, trying different option combinations, all resulting in my vhd being the same size as it was to begin with.  I've tried replacing the existing file, creating a new file, converting to fixed, leaving it dynamic....  It always says it was successful, yet everytime I check, the disk space is the same as when I started.  What am I missing?
  •  05-23-2008, 3:54 PM 521 in reply to 515

    Re: disk size remains same as before running utility

    I had the same problem where my vhd file and the C:\ drive in my image were the exact same size after running the utility.  Any suggestions?
  •  05-27-2008, 8:55 AM 524 in reply to 521

    Re: disk size remains same as before running utility

    You have to extend your C partition to include the new volume.

     Go to Computer Management --> Disk Management. You should see the extra space you added to the right of the C:/ drive.

    Right click on the C:/ drive, then select Extend Volume. It should automatically add the new volume. Click next and there you go!

  •  05-27-2008, 11:09 AM 525 in reply to 524

    Re: disk size remains same as before running utility

    Thanks for the heads up on what to do next.  My original C:\ drive was setup as a Simple drive and when I convert it to Dynamic I could not extend it to include the extra space.  I had to make a new partition with a separate drive letter.
  •  06-20-2008, 10:49 AM 538 in reply to 524

    Re: disk size remains same as before running utility

    Thanks for the utility and the tip.  Using XP I also found this step I needed to follow:

     After running VHD Resizer, I attached the new VHD as E: (D: already used) to my existing VPC. Booted up on the old vhd, ran

    c:\diskpart
    list volume
    select volume 2
    extend

    Shutdown vpc
    Changed vpc settings
    Removed old vhd
    Attached new vhd as C:\

    Started vpc and everything is working fine.

  •  06-24-2008, 11:19 PM 540 in reply to 524

    Re: disk size remains same as before running utility

    I am working on a windows 2003 VM and when I right click on C: I dont have an Extend Volume option. Is there another way to do this?
  •  07-23-2008, 1:12 PM 562 in reply to 540

    Re: disk size remains same as before running utility

    I am also having the same issue with my 2003 server VPC, any help out there?
  •  07-31-2008, 4:26 PM 574 in reply to 524

    Re: disk size remains same as before running utility

    I used Partition Magic 8 to extend my C drive on virtual Windows XP.
  •  08-16-2008, 1:10 PM 582 in reply to 524

    Re: disk size remains same as before running utility

    same for me- running xp and ntfs, I done see the extend option on the c drive. any ideas? tried running diskpart operations from commandline and same thing, says i cant support this...

     

  •  08-16-2008, 1:40 PM 583 in reply to 582

    Re: disk size remains same as before running utility

    think i found hte answer- im running basic partition types, so i cant extend my partitions using disk mgt. Im also running on a laptop, which apparently xp does not support active partitions on.

     dam, i was kinda hoping this tool would just do the resize automatically... but i guess that would be pretty complex.

  •  09-16-2008, 6:35 AM 598 in reply to 538

    Re: disk size remains same as before running utility

    I can confirm that handyd's recipe works fine; even on my Dell laptop.  All you need to do is bring up a Command Prompt and run the diskpart.exe utility. 

    The only change that needs to be made to the recipe is the first line.  From the command prompt, simply execute diskpart.exe, not c:\diskpart.

     

  •  09-29-2008, 9:46 AM 603 in reply to 598

    Re: disk size remains same as before running utility

    Note to those of you trying to extend your Windows Server 2003 .vhd:

    The trick is to use WindowsXP:

    Windows Server will not allow you to extend the volume of a basic disk -- it has to be a dynamic disk in order to be extend -- but WindowsXP does not have this restriction.

    So after you've created your new .vhd using the Resizer, attach that file as a secondary (or tertiary, etc.) hard drive to an XP VM, then use handyd's recipe above.  Then you can shut your XP machine down, remove the vhd from it, and boot your original Windows Server 2003 from that .vhd.

  •  10-22-2008, 7:35 AM 617 in reply to 603

    Re: disk size remains same as before running utility

    I attached my vhd as secondary hard disk on a win2003 and tried the diskpart utility as instructed and it worked.

    so it does not have to be winxp

  •  10-31-2008, 4:32 AM 626 in reply to 617

    Re: disk size remains same as before running utility

    works for me only when I attach the vhd as secondary and run diskpart - thanks!
  •  11-08-2008, 6:33 AM 630 in reply to 538

    Re: disk size remains same as before running utility

    Thanks everyone,

    Just saved myself a lot of trouble in setting up a new VM because I had ran out of space.

    great help!!

     Ernst

     

Page 1 of 2 (18 items)   1 2 Next >
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems sponsored by xcarab, inc