VMware vSphere

 View Only
  • 1.  the volume you have seleced may not be extended

    Posted Mar 10, 2012 05:50 PM

    on a 2003 std vm, I am trying to expand the d drive.

    increased it by 20gb

    went to diskpart

    but gives me an error

    the volume you have seleced may not be extended. Please select anothert volume and try again.

    any idea?



  • 2.  RE: the volume you have seleced may not be extended

    Posted Mar 10, 2012 05:55 PM

    How do the current partitions look like (primary, extended, logical)? If the D: partition is the last one with the adjacent free disk space then you should be able to expand it using diskpart unless it contains e.g. the pagefile.

    André



  • 3.  RE: the volume you have seleced may not be extended

    Posted Mar 10, 2012 06:02 PM

    I have 2 primary. C and a D.

    D has a page file on it.



  • 4.  RE: the volume you have seleced may not be extended

    Posted Mar 10, 2012 06:05 PM

    That explains it. In this case either temporarily place the pagefile on drive C: or boot the VM from e.g. a Windows 7 ISO into troubleshooting mode, open a command line and run diskpart from there.

    André



  • 5.  RE: the volume you have seleced may not be extended

    Posted Mar 10, 2012 06:13 PM

    even with the pagefile on the drive. I used to be able to resize with extpart but it does not work

    http://www.displacedguy.com/extpart-utility.html



  • 6.  RE: the volume you have seleced may not be extended

    Posted Mar 10, 2012 06:46 PM

    after i rebooted. I was able to resize with extpart.

    thanks



  • 7.  RE: the volume you have seleced may not be extended

    Posted Mar 10, 2012 06:57 PM

    Thanks for the feedback. Out of curiosity, did you rescan the disk in either the disk manager or using diskpart before you tried to grow the partition (before you rebooted the system)?

    André



  • 8.  RE: the volume you have seleced may not be extended

    Posted Mar 10, 2012 07:02 PM

    yes. i did. the extra 20gb was seen by disk mgr and diskpart. maybe something was locked up?



  • 9.  RE: the volume you have seleced may not be extended