Fusion

 View Only
Expand all | Collapse all

I extended VM virtual machine disk but its only half showing...

  • 1.  I extended VM virtual machine disk but its only half showing...

    Posted May 08, 2012 02:35 PM
      |   view attached

    Hi

    I extended my VM fusion for mac virtual machine disk but its only half showing...

    I have the latest version of VMware fusion and i am running a windows 7 virtual machine.  My Win 7 virtual machine c drive was running out of space so i went to Virtual Machine > Settings > Hard Disk and used the slider to increase the disk size from 100 GB to 250 GB.

    • Now when I right click the C drive from My Computer it is showing the old size still (100 GB)

    • From the Windows 7 Computer Management console it is only half showing the changed size. See image attached.  The (C:) volume is showing the old size but the Disc 0 (which is the same thing) is showing the new larger size.

    Notes:

    • I have no snap shots
    • I have also booted to gparted-live to check from there and that is showing the new larger size as it should be.
    • When i right clcik the drive from the computer management console in Win 7 the 'Expand'option is greyed out.

    Can anyone please help with how I can get C: drive to show the full new capacity?

    Many thanks in advance. Matt



  • 2.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 08, 2012 03:00 PM

    > I have also booted to gparted-live to check from there and that is showing the new larger size as it should be.

    Does gparted show a NTFS partition of 250 Gb ?

    How exactly did you expand the partition C: ?



  • 3.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 08, 2012 05:40 PM

    Hi,

    Yes, Gparted showed 250 NTFS and te method i used to expand the virtual drive was as detailed above: from the vm machine i went to Settings > Hard Disk and used the slider to increase the disk size from 100 GB to 250 GB.

    Any help would be massively helpful!

    Thanks, Matt



  • 4.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 08, 2012 05:45 PM

    using the slider in VMware settings just expands the disk - do you realize that this does NOT expand the partition ?



  • 5.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 08, 2012 06:23 PM

    When i used the slider i did not realise that - but yes i have since realised that this is the case.  I read online that i need to then expand the drive from within the vm machine.  However when i went to do this (from computer management console in Win 7 the 'Expand'option is greyed out and won't allow me to expand.  That is when i used gparted as i read that it could be done using that - however gparted showed the partition as 250 gb already and woiuld not allow any change.

    I am therefore stuck as to how i can expand it from within the VM.

    Also i am confused that (as the image i posted shows) the vm win7 management console does alrady show the expanded size (250 gb) altough the chart that is shown when i right click the c: drive only shows the old size.  I can't work out why it would show in the vm disk mamanement console as the new size yet on the same vm c: drive it is only showin as 100 gb.

    thanks.



  • 6.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 08, 2012 07:24 PM

    I would run chkdsk /f /x /r C: and reboot



  • 7.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 09, 2012 07:57 AM

    Hi Continuum - I tried the chkdsk cmd you usggested but it hasnt changed anything. I also rua EASUS on the vm machine and it showed this:

    Do you have any other ideas at all? thanks!



  • 8.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 09, 2012 12:16 PM

    I'm going to repeat myself since it appears you've ignored what I previously said...

    "Then after trying what Ulli suggests, if that doesn't work then per a suggestion I saw in another thread a while back by a.p. I'd try resizing downward and then back upwards the partition.  Hopefully that will rectify things.  The other option is to image the drive to another using something like Ghost."

    BTW The resizing it done to the Filesystem of the Guest not the size of the virtual hard disk itself since it cannot be downsized from its Settings once the disk is partitioned/formatted/OS Installed.



  • 9.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 10, 2012 08:34 AM

    Hi Woodyz - i wasnt ignoring your post - i hadnt had time to do what you said that night. I appreciate your input and didnt intend to offend.  I will try what you suggested today; how would i go about downsizing in the guest ssytem? Can i do that whilst running it or do i need to use a third party tool? Thanks again, matt



  • 10.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 10, 2012 10:24 AM

    No offense taken, just wanted to make sure you had other options to try.

    BTW  I've see this behavior/issue several times in the forums although off the top of my head I do not recall what the out come has been.

    One way for sure the issue can be resolved is to image the drive with a program like Ghost however the easier solution may be to shrink the volume in Disk Management and then extend the volume.  Another option to Disk Management would be using GParted Live.  There is also diskpart from the Command Prompt however it's CLI Utility and not User friendly.

    As I previously said I read this in another discussion thread and this was a suggestion by one of the other members that helps as Ulli and I do so it is something that I'd certainly give a try and as always make sure you are properly backed up before modifying the virtual hard disk.



  • 11.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 14, 2012 01:04 PM

    Hi Guys

    Disk Management wouldn’t let me downsize so i did it with GPARTED - which seemed to work however when i restarted the VM wouldn’t boot and I received a black screen saying that i needed to put in my win 7 installation disk as it needed to carry out a system repair! So no good I’m afraid!
    I have restored the backed up vm to my mac and I’m back to square one… any further ideas?
    Thanks again, Matt



  • 12.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 15, 2012 12:24 PM

    Mattybristol wrote:

    Disk Management wouldn’t let me downsize so i did it with GPARTED - which seemed to work however when i restarted the VM wouldn’t boot and I received a black screen saying that i needed to put in my win 7 installation disk as it needed to carry out a system repair! So no good I’m afraid!
    I have restored the backed up vm to my mac and I’m back to square one… any further ideas?
    Thanks again, Matt

    Resizing a virtual hard disk is a multistep process, changing the size of the virtual disk itself and then doing the steps necessary to utilize the added space either by expanding the existing virtual partition or creating additional partitions.  Which leads me to the following question...

    How, explicitly and specifically, did you expand the disk/partition the first time?

    If expanding the disk/partition fails under normal techniques then I'd image the existing virtual hard drive to another using Symantec Norton Ghost or similar disk imaging product, then swap the drives out in the .vmx configuration file.



  • 13.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Dec 29, 2012 03:03 AM

    I wanted to document that I experienced the same issue as described in this post. I was able to rectify the problem by first adding another 1 GB to the hard drive I was trying to expand (using the slider in the VMWare virtual machine/settings/hard disc window). Once that was done, and vmware had expanded the disc, I viewed the drive in "disc management" in windows xp. I still saw the disconnect between the two values in the disk management pane, just as reported by the user who started this thread. But now I also saw a new 1GB unallocated partition at the edge of the drive I was trying to expand. I opened easeus and dragged the edge of the allocated hard drive to the right until it took over all the new unallocated space. Then I applied the changes. On restart my disc was expanded correctly. I am not sure what happened the first try, but suspect something went wrong with the initial disc expansion....



  • 14.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Dec 29, 2012 01:38 PM

    I personally have never had a failure of the first stage however I've seen it reported only a few or so times over the years.  Nonetheless, this is why aside from the fact that one should always maintain proper* backups anyway, it is very important when performing disk level operations on either stage such as this that one ensures that they have a known good working backup to fall back on in the event of an irreparable failure of either stage.

    ==========

    * It is a known fact that Time Machine is not 100% reliable backing up/restoring Virtual Machines under all circumstances/conditions.  Also backing up Virtual Machines via Time Machine is disk/time intensive and wastes a tremendous amount of space for something that may be corrupt and worthless come time to restore it.  At a minimum I would exclude Virtual Machines from Time Machine and with the Virtual Machines shutdown, not suspended, and VMware Fusion closed then manually copy the Virtual Machines Package(s) to an alternate location, preferably on to a different physical hard disk.  Then keep the User Data that is stored within the Virtual Machine backed up off of the Virtual Machine on a regular basis so as to always have a current User Data Backup.  If you have to restore a properly backed up Virtual Machine that is not as current at least you'll have a working Virtual Machine and current User Data to go forward with when you find out your Time Machine Backup of the Virtual Machine fails.



  • 15.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 12, 2019 11:30 PM

    Solved, I had this problem, follow the steps below:

    1 - Open your VM windows normally.

    2 - open the disk manager

    3 - right click on drive C:

    4 - Click Attach.

    Soon, it will expire. Hope this helps.



  • 16.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 08, 2012 07:36 PM

    I wouldn't do anything until either you have a current User Data Backup of what resides in the Virtual Machine and or the Virtual Machine itself! :smileywink:

    Then after trying what Ulli suggests, if that doesn't work then per a suggestion I saw in another thread a while back by a.p. I'd try resizing downward and then back upwards the partition.  Hopefully that will rectify things.  The other option is to image the drive to another using something like Ghost.



  • 17.  RE: I extended VM virtual machine disk but its only half showing...

    Posted May 08, 2012 07:42 PM

    WoodyZ thanks :smileywink: i have the back up, so am safe!

    Ulli Hanklen - thanks for that cmd line i will do that and report back. thanks again guys.



  • 18.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Jul 25, 2016 06:37 PM

    Thank you I opened disk manager and extended the partition into the new space, very very helpful



  • 19.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Jan 02, 2013 02:23 PM

    i also faced similar issue recently, and no tools were able to fix that - be it FileSystemTools (CHKDSK) or DiskPartioning Tools (PARTED).

    So, what i did that i again expanded mine VDISK (this time - i expanded Slightly - mere 200 MiB)  from 10GiB to 10.2GiB (in ur case u can try expanding it to 250.x or 251GiB --- provided available host disk space) followed by extending the in GuestOS using DISKPART --- and thereby - Windows recognized actual correct Available Disk Space on Partition.

    Hope this resolves your ISSUE.

    Regards



  • 20.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Jun 04, 2013 04:52 PM

    This has probably no doubt been tried, but I had a similar issue, and finally resolved by opening disk management on guest and noticed an unpartitioned space in addition to 'c'.  Extended the 'c' partition to the unpartitioned space, and resolved.



  • 21.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Nov 20, 2013 01:56 PM

    Hi - I just wasted almost an entire day trying to fix the same problem. After reading many responses, articles from vmware, etc, I finally stumbled across one that mentioned that the initial resizing of the virtual disk via settings, can be done while holding the option key down. Hadnt seen that anywhere. I had tried to first go from 60 to 90, fail. Showed up the same way yours did. Then to 100, fail. Then 102, fail. Then 105, with the option key held while resizing. Sure enough, go into EaseUS after and the 3 extra GM from 102 to 105 show up as unallocated. So I expanded the 102 to 105, even though the 102 had still shown as a nearly full 60. EaseUS ran, rebooted, and then did the partitioning on reboot. Opened up the VM, sure enough, 105 all set with over 40gb free. FINALLY!

    So, try one more resize, slightly larger, with the option key held, THEN do the manual partition extension.



  • 22.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Nov 25, 2013 07:11 AM

    The procedure on how to expand virtual disks is explained in the article - VMware KB: Increasing the size of a disk partition for future reference :smileywink:



  • 23.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Nov 25, 2013 02:17 PM

    Thanks, yes, I did see that article. This part was particularly charming : "check to ensure that the volume you are trying to extend does not contain the page file. " 


    How one does this is a bit of a mystery. I was about to figure it out when I stumbled upon the option key issue, which worked, yet is hardly mentioned anywhere.



  • 24.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Nov 25, 2013 02:44 PM

    gdd9000 wrote: Thanks, yes, I did see that article. This part was particularly charming : "check to ensure that the volume you are trying to extend does not contain the page file. "

    That caveat is primarily when using the diskpart.exe command prompt utility.  Any method used while the installed OS is not booted, e.g. booting from other media like GParted Live, it doesn't matter if the page file exists or not.  GParted Live can/will expand the partition without any problem under normal circumstances.



  • 25.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Nov 25, 2013 02:47 PM

    I guess in some way my situation was not normal. Glad I didnt bother going down the road of trying to figure out the page file issue. I used EaseUS, by the way, as my third party tool. I had done this once before and it worked as expected. This time was just strange.



  • 26.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Apr 04, 2014 10:44 AM


    I Stumbled upon a similar issue. In our case it was the I Volume which was extended from 200 GB to 350GB.If we opned disk management the lower window in it displayed the correct value 350 GB however on top th capacity showed up as 200 GB My computer showed the incorrect value of 200 GB,however disk part displayed corrrect 300 GB.

    I also found multiple event id 55 in the event logs

    Cause

    This issue occurs because the NTFS driver exhausts its resources when it tries to extend the volume.

    Resolution:Open command promt type diskpart

    diskpart> list volume

    diskpart>select volume 3 (select the number  as per your requirement)

    diskpart> extend filesystem

    Note :No pagle file should be present on the volume.No snapshot should be present. Always have a backup of the volume.

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1000630



  • 27.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Aug 31, 2014 08:03 PM

    rkk0308, you are a gentleman and a scholar!

    This worked for me on the same problem.  It was so fast I didn't think it worked at first.  It doesn't require downloading any third party tools or re-re-sizing anything.  There could not be a better solution, at least for me.

    Cause

    This issue occurs because the NTFS driver exhausts its resources when it tries to extend the volume.

    Resolution:Open command promt type diskpart

    diskpart> list volume

    diskpart>select volume 3 (select the number  as per your requirement)

    diskpart> extend filesystem

    Note :No pagle file should be present on the volume.No snapshot should be present. Always have a backup of the volume.

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1000630



  • 28.  RE: I extended VM virtual machine disk but its only half showing...

    Posted Feb 03, 2015 09:11 PM

    I had the same problem. I created a VM with two disks and I needed to increase the size of both. My VM was a Windows server 2008R2 and I used VMWare Workstation9.

    -The first I had to do was delete all the snapshots took, because of my disks werent in Independent Mode.

    -Second shutdown my VM and increase both disk with VMWare Utilities

    -Third startup it and from Windows Disk Management tool (of VM), extend the Volume of each disk

    and thats it.

    rgds,