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?
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é
I have 2 primary. C and a D.
D has a page file on it.
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.
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
after i rebooted. I was able to resize with extpart.
thanks
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)?
yes. i did. the extra 20gb was seen by disk mgr and diskpart. maybe something was locked up?
Take a look
1) VMware KB Extending partitions in Windows using DiskPart
2) MS kb The DiskPart.exe utility cannot extend a logical drive in an extended partition in Windows Server 2003
3) Diskpart - "The volume you have selected may not be extended" on Windows 2003 Server when enlarging boot disk (C:) in VMware ESX 3.5