Dynamically Expanding hard drives not very dynamic?

Discussion in 'Virtual PC' started by Aaron, Feb 7, 2004.

  1. Aaron

    Aaron Guest

    I have created virtual PCs with dynamic HDs. When I try to install my software packasge (I am testing an installer) there is "not enough space". I have tried 12 times to change to fixed size and no matter how much space I have it says I do not have enough. (with 1G free, it says I do not have enough space to convert a 300mb drive to 500mb).

    I have not seen any postings on this, which suggests that 1) I have done something fundamentally wrong, 2) VPC is so new that nobody has tried to use it to install software (really?), 3) this dynamic thing never did work and all the people in the know use fixed hds

    Any help? I have wasted 2 days on this.
     
    Aaron, Feb 7, 2004
    #1
    1. Advertisements

  2. I'm am not sure about which operating system is telling you that they are
    "not enough space": the host, when running the Disk Wizard, or the guest,
    when trying to use more space?

    From the wording of your message, I come to the conclusion that you are
    trying to convert a Dynamically Expanding Virtual Hard Drive (VHD) to a
    Fixed size VHD.

    You have to things to consider: the total (maximum) size of the (Virtual)
    hard drive itself and the size of each of the partitions inside it (a VHD,
    like any physical hard drive) may have more than one partition). These
    partitions are created by DOS, Windows (all versions), Linux and other OS,
    are each of different formats and, as such, cannot be modified by the
    Virtual Hard Disk Wizard. So, if you try to convert a VHD with has a
    partition of size 16Gigs inside it from a Dynamically Expanding Size to a
    Fixed size, the Wizard must create a physical file of a leat 16Gigs to
    contain this partition.

    The total space actually occuped by files inside the partition or the size
    of the dynamically expanding VHD before the conversion has nothing to do
    with the final size of the fixed size VHD.

    To change the size of an already created partition, you must use a tool like
    Partition Magic or clone the virtual hard disk with hard disk imaging
    softwares, like Ghost, which are able to dynamically adapt the sizes of the
    various partitions in the process.

    If you try to use Ghost, you must select the whole VHD as the source and the
    target for the cloning process - not only just the partition inside it -
    when cloning to a new VHD which has never be partitioned before; otherwize
    some crucial informations won't get written to the VHD.

    Dynamically Expanding VHD uses chunks of 2Megs and will write to the disk
    any chunks which contains something else than all zeroes. Therefore, they
    can grow quite fast and a 500mb total of virtual disk space way well occupy
    1G and more on the physical disk. In fact, as you use it, the physical
    space is likely to continue to grow when running virtualised operating
    systems like Windows or Linux.

    S. L.


    software packasge (I am testing an installer) there is "not enough space". I
    have tried 12 times to change to fixed size and no matter how much space I
    have it says I do not have enough. (with 1G free, it says I do not have
    enough space to convert a 300mb drive to 500mb).
    something fundamentally wrong, 2) VPC is so new that nobody has tried to use
    it to install software (really?), 3) this dynamic thing never did work and
    all the people in the know use fixed hds.
     
    Sylvain Lafontaine, Feb 7, 2004
    #2
    1. Advertisements

  3. Aaron

    Steve Jain Guest

    What was the size limit you specified for the disk? If you only
    specified 1GB, its not going to expand past that.

    Are you using a FAT partition, if so, then you only get 2GB of total
    drive space regardless of the size of the dynamically expanding drive.

    In regards to your questions:
    Probably, incorrect configuration or setup, or lack of knowledge of
    the product. From what it sounds like you're running the mac version?
    VPC's been around since 2001,
    The dynamically expanding drives have worked in all versions including
    the new MS version.


    Steve Jain, Microsoft MVP for Virtual PC for Windows
    Website: http://www.essjae.com
     
    Steve Jain, Feb 8, 2004
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.